In my last posting I wrote:
> Perhaps it's just IE6. I have another system with
> IE7 installed, and I'll try it on that one.
I did, and there blocking cookies correctly prevents PHP sessions from working, just as it does on Firefox.
The Privacy settings dialog box in IE7 is exactly the same as that in IE6, but the results appear to be different. Perhaps something is "broken"...
User Profile
Collapse
-
Thank you for your reply, pbmods.
> Internet Explorer has a separate option to accept
> session cookies regardless of whether it is set to
> accept cookies in general. Make sure this option
> is set properly.
Yes, I am familiar with that (in the Advanced options), and I unchecked "Always allow session cookies" to no avail. I know I had session cookies disabled because I...Leave a comment:
-
Why Do PHP Cookies and Sessions Work Even When Cookies Are Disabled?
I am trying to explain how cookies and sessions work in a class I teach, but I have hit a wall when it comes to the interaction between cookies and the state of the privacy settings in Internet Explorer. I would appreciate any help anyone can offer, please.
First, consider the following very simple JavaScript function:
[CODE=javascript]function CookiesEnabled( ) {
SetCookie( "testcookie ", "testcookie "...Last edited by pbmods; May 20 '07, 06:52 PM. Reason: Changed code language. Thanks for using CODE tags!
No activity results to display
Show More
Leave a comment: