CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   PHP (http://www.codingforums.com/forumdisplay.php?f=6)
-   -   sessions lost (http://www.codingforums.com/showthread.php?t=273302)

markman641 09-16-2012 10:44 PM

sessions lost
 
EDIT: solution FOUND

it was a problem with going from no www. to www. and the sessions were lost between the 2... *facepalm*

markman641 09-16-2012 10:44 PM

edit: deleted

tangoforce 09-16-2012 11:26 PM

session_set_cookie_params() will allow you to set the domain that you can use the session with.

Untested but as far as I'm aware you can use .yourdomain.com for it to cover the base domain and subdomains instead of www.yourdomain.com


All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.