www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] session disappears

  1. #1
    Join Date
    Feb 2006
    Location
    india
    Posts
    678

    resolved [RESOLVED] session disappears

    Hi,

    I am facing a strange problem.when the user is returning from the payment gateway it losts the session value and thus keeping log out.

    But the browser is not closed...as far as i know until someone close the browser the session value always available in the browser.

    Please suggest...as i want to keep the user logged in.

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,176
    Any possibility that they're connecting with a subdomain ("www.example.com") but the post-payment landing page is not ("example.com"). This could lose the session ID cookie unless you set your PHP config for session.cookie_domain to ".example.com" (note the leading dot).
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Feb 2006
    Location
    india
    Posts
    678
    thanks mate...its solved...i missed "www" after http;// in return url ...

    Thanks once again..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles