Jump to content

$_SESSION compatibility


mark-unna

Recommended Posts

Certain security solutions (McAffee et al) and specific browser settings allow the user to stop $_COOKIEs to be set - I'm wondering if this is the case for $_SESSION as well. Firefox does not store $_SESSION in the same way that it stores $_COOKIE. I guess that what I'd like to know is whether people have experienced any problems setting just $_SESSION?

Link to comment
Share on other sites

Session data is stored on the server but a cookie is also set on the client for recognition.

 

I guess that what I'd like to know is whether people have experienced any problems setting just $_SESSION?

 

If cookies are disabled, php will attempt to persist a session by passing the session id around in the url.

Link to comment
Share on other sites

Session data is stored on the server but a cookie is also set on the client for recognition.

 

I guess that what I'd like to know is whether people have experienced any problems setting just $_SESSION?

 

If cookies are disabled, php will attempt to persist a session by passing the session id around in the url.

 

Will php always do this? I thought i had tried turning cookies off before and my sessions no longer functioned. Just wondering if php has to be set up in a particular way for this behaviour?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.