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

2002-03-26 Thread Rick Emery
- From: andy [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 10:39 AM To: [EMAIL PROTECTED] Subject: [PHP] cookie problem. Not possible to set and read a cookie on the same page? Hi there, I am wondering if it is possible to send a cookie and read it on the same page. Following

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

2002-03-26 Thread Erik Price
On Tuesday, March 26, 2002, at 11:42 AM, Miguel Cruz wrote: > There is no chance for the server to re-read the cookies from the > browser > after step 2 above, unless, as you've observed, you refresh the page, > which in effect just repeats both steps. One ugly way that I've gotten around thi

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

2002-03-26 Thread andy
Hi there, I am wondering if it is possible to send a cookie and read it on the same page. Following environment: There is a cookie already on the machine of the client, but expired. Now I am setting a new cookie and reading it on the same page via $sess_id = $HTTP_COOKIE_VARS[$sesscookiename];