Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: sessions lost

  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post

    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*
    Last edited by markman641; 09-17-2012 at 12:18 AM.

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Posts
    272
    Thanks
    63
    Thanked 1 Time in 1 Post
    edit: deleted
    Last edited by markman641; 09-17-2012 at 12:18 AM.

  • #3
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,479
    Thanks
    63
    Thanked 538 Times in 525 Posts
    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
    I can't really think of anything to write here now...


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •