Question about session w IE set to "Block All Cookies&q

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ckiemnstr
Forum Newbie
Posts: 3
Joined: Thu Jun 16, 2005 10:28 am

Question about session w IE set to "Block All Cookies&q

Post by ckiemnstr »

If all Block All Cookies in IE is disabled, will sessions work?

I cant seem to get IE to accept my session variable if Privacy is set to "Block All Cookies" (this highest setting), does this also block php session variable?

If Privacy is set to high the session variables work and if i use a custom setting "Block all 1st party cookies, block all 3rd party cookies, allow session cookies" it works.

Can anyone confirm or deny that session variables will work if "Block All Cookies" is set in IE? A session variable isn't a cookie is it? Where are session variables actually stored?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

the session data is stored server-side, usually in a temporary folder on the server machine.

sessions can be passed by URL

you must of seen for example

index.php?PHPSESSID=2307298bbdfbd
ckiemnstr
Forum Newbie
Posts: 3
Joined: Thu Jun 16, 2005 10:28 am

Post by ckiemnstr »

Is there any other way to do it?

I've seen sessions written to the /tmp directory on the server before, would that work?
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

i do not understand why "block all cookies" is affecting your use of sessions, do you understand sessions?

are you starting the sessions?
are you assigning 'correctly' session values?
ckiemnstr
Forum Newbie
Posts: 3
Joined: Thu Jun 16, 2005 10:28 am

Post by ckiemnstr »

Neither do i, yes, yes
Post Reply