webref.eu Posted December 12, 2008 Share Posted December 12, 2008 I see that session_start() will automatically drop a cookie onto my computer. What happens if I've set my computer to reject cookies? Thanks for any comments. Rgds Link to comment https://forums.phpfreaks.com/topic/136711-solved-session_start-and-cookie-question/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 12, 2008 Share Posted December 12, 2008 A session will exist as long as the browser propagates the session id between pages and the matching session data exists on the web server. The default operation is that the session id is propagated using a cookie. If you turn cookies off, the default session operation won't work. There is an alternative method and that is to pass the session id on the end of the URL. As always, please read the relevant section in the php manual to get all the information - http://us3.php.net/manual/en/session.idpassing.php Link to comment https://forums.phpfreaks.com/topic/136711-solved-session_start-and-cookie-question/#findComment-713965 Share on other sites More sharing options...
webref.eu Posted December 20, 2008 Author Share Posted December 20, 2008 One other question. I'm writing a script for user reviews. Do you think if I insist that cookies are turned on for them to be able to post a review this will be workable, i.e. I won't alienate too many potential users? Thanks Link to comment https://forums.phpfreaks.com/topic/136711-solved-session_start-and-cookie-question/#findComment-720465 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.