[PHP] Re: Cookie problem

2006-01-16 Thread Al
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 $_

[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
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

Re: [PHP] Re: Cookie problem with IE

2005-11-22 Thread Kristen G. Thorson
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

[PHP] Re: Cookie problem with IE

2005-11-22 Thread n.g.
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

[PHP] Re: cookie problem..

2003-02-23 Thread Joel Colombo
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

[PHP] Re: cookie problem..

2003-02-22 Thread Lord Loh.
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/)

[PHP] Re: cookie problem. Not possible to set and read a cookie on the same page?

2002-03-26 Thread Julio Nobrega Trabalhando
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:/

[PHP] Re: cookie problem

2002-02-11 Thread Hasan Niyaz
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.