Re: [PHP] Cookies & page refresh

2006-12-17 Thread Chris Shiflett
Richard Lynch wrote: > A cookie is sent BACK to the server after the server sends > it to the browser. Period. > > It's kind of like when you go to a movie, and you buy your > ticket from one person, and then you hand it to another, > and they hand it back, and then you have to be prepared to > sh

Re: [PHP] Cookies & page refresh

2006-12-15 Thread Richard Lynch
A cookie is sent BACK to the server after the server sends it to the browser. Period. It's kind of like when you go to a movie, and you buy your ticket from one person, and then you hand it to another, and they hand it back, and then you have to be prepared to show it to prove you aren't sitting

Re: [PHP] Cookies & page refresh

2006-12-12 Thread William Stokes
Thanks. It seems that I tested the right things but in a wrong order... -Will "Chris" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] > William Stokes wrote: >> Hello, >> >> I have a page that uses session cookies for deciding what content to show >> to a visitor. User also has 2 for

Re: [PHP] Cookies & page refresh

2006-12-12 Thread Chris
William Stokes wrote: Hello, I have a page that uses session cookies for deciding what content to show to a visitor. User also has 2 form objecks to apply filters to the content SQL queries. So at the beginning of the script I set 2 cookies based on user selections(or defaults) and after that

RE: [PHP] Cookies & page refresh

2006-12-12 Thread Peter Lauri
Hi, I think it says somewhere in the documentation that the cookie values will not be available until next request/response... /Peter -Original Message- From: William Stokes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 5:28 PM To: php-general@lists.php.net Subject: [PHP]