mark-unna Posted July 23, 2007 Share Posted July 23, 2007 Hi all Quick question: does anyone have any stats on the percentage of browsers/environments that support session cookies? Reason I ask is that I might have come up with a spellbinding anti-form-spam solution. TIA. Link to comment https://forums.phpfreaks.com/topic/61359-_session-compatibility/ Share on other sites More sharing options...
trq Posted July 23, 2007 Share Posted July 23, 2007 Session cookies are just normal cookies according to a browser. I would say all browsers have support for cookies. Link to comment https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305369 Share on other sites More sharing options...
mark-unna Posted July 23, 2007 Author Share Posted July 23, 2007 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 https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305412 Share on other sites More sharing options...
ViN86 Posted July 23, 2007 Share Posted July 23, 2007 arent session variables stored on the server? read the "PHP Sessions - Overview" part http://www.tizag.com/phpT/phpsessions.php furthermore, pretty much all browsers will support cookies as long as the user didnt disable/block them. Link to comment https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305415 Share on other sites More sharing options...
trq Posted July 23, 2007 Share Posted July 23, 2007 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 https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305422 Share on other sites More sharing options...
GingerRobot Posted July 23, 2007 Share Posted July 23, 2007 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 https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305433 Share on other sites More sharing options...
trq Posted July 23, 2007 Share Posted July 23, 2007 I think (but not 100%) its setup by default, but yes, it is a php.ini setting. Link to comment https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305434 Share on other sites More sharing options...
GingerRobot Posted July 23, 2007 Share Posted July 23, 2007 Ok thanks, ill take a look when i get home. Link to comment https://forums.phpfreaks.com/topic/61359-_session-compatibility/#findComment-305445 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.