Al wrote:
Can't get a cookie to set. Below is the code near the file top BEFORE
any html output.
$_POST['prefs'] comes from a hidden field in the middle of the html output.
$_POST['filter'] comes from a select option.
A Submit button closes the page and refreshes it.
print_r($_POST) shows $_
did i say it? sorry, i mean load the page in your customer browser.
the code you give simple test stored cookie, which might be blocked by
browser. however browser blocks stored cookie might allow session
cookie, they are not stored so are less insecurity.
bad thing is your customer have some ant
n.g. wrote:
save below as testcookie.php, request it from your browser twice, what
do you get at 2nd time?
On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
Anyone have any suggestions? I'm still stuck.
thanks,
kgt
Kristen G. Thorson wrote:
I'm having problems with a
save below as testcookie.php, request it from your browser twice, what
do you get at 2nd time?
On 11/22/05, Kristen G. Thorson <[EMAIL PROTECTED]> wrote:
> Anyone have any suggestions? I'm still stuck.
>
>
> thanks,
> kgt
>
>
>
> Kristen G. Thorson wrote:
>
> > I'm having problems with a custo
make sure u run a session_start(); before anything on the page
u cant access any session vars without it.
Joel
"Terry Lau" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
> I want to set a cookie when I enter a text into the text field, and
it
> shows the text I sub
Cookies are loaded the next time the page is loaded. So you may have to
refresh the page to see the cookie...
or
Submit to a html page which will redirect to the page which shows cookie
value...
Hope this helps...This should work...
Lord Loh
--
PHP General Mailing List (http://www.php.net/)
Not possible, read the manual page about setcookie:
www.php.net/setcookie
There's a 'common pitfall' entry saying so.
Don't know why. Maybe the cookie is only written to user's disk after the
page is fully loaded, maybe for security reasons.
--
Julio Nobrega.
Um dia eu chego lá:
http:/
Hi all,
Perhaps some one can help me.
If I send a cookie like
setcookie(+ACI-cookie+AF8-agtpasswd+ACI-,+ACQ-form+AF8-agent+AF8-pass, time()+-1200,
+ACI-/+ACI-)+ADs-
it does not work on the terminal which has a new version of windows 2000 and with IE6.
The browser does not store the cookie.
8 matches
Mail list logo