PDA

View Full Version : Same cookie returns different results in PHP


SyRenity
08-05-2007, 01:23 PM
Hi.

I have a language cookie named "cook_lang". For some reason, this cookie will returns different results when accessed from main page, and from an IFrame.

For example, the main page returns 1. The page contains an IFrame, which sometimes returns 3.

It's like the cookie is not updated fast enough for all site pages.

Thanks in advance.

mistwang
08-05-2007, 04:40 PM
I think it depends on how the cookie was set in the main page and the IFrame, it is not a web server issue.