SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2003
    Location
    us
    Posts
    57
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question HELP with PHP Session loss on HTTPS

    Hello,

    I am currently experincing PHP session loss when transferring customers from the website (HTTP to the checkout process (HTTPS.

    I have tried numerous ways of resolving this issue.

    I am on a UNIX system, Shared Server.

    Could this be the issue?

    Please let me know your thoughts, as I need the the PHP session variables carried over from the site to the checkout process inorder to store/display/accept orders correctly.


    Thanks.

  2. #2

    Join Date
    Oct 2003
    Location
    €uroLand
    Posts
    1,340
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suppose your sessions are utilising cookies to indicate the session id. The switch from HTTP to HTTPS is problematic in this case, as session cookies are sent with a secure flag off. You might want to use session_set_cookie_params or change session.cookie_secure in the configuration.

    See these urls for more information.
    http://forums.devshed.com/archive/t-12158
    http://www.mail-archive.com/php-gene...msg131098.html
    http://www.webmasterworld.com/forum88/91.htm


Bookmarks

Posting Permissions

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