SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: SESSION and SSL

  1. #1
    SitePoint Addict madproject.com's Avatar
    Join Date
    Jan 2003
    Location
    Ottawa, Canada
    Posts
    268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SESSION and SSL

    I've got a cart that stores the information in an object that is stored in the session like so:

    PHP Code:
      include("cart.php");
      
    session_start();
      
    $cart =& $_SESSION['cart'];
      if(!
    is_object($cart)) $cart = new Cart(); 
    Everything works fine, but when the person checks out and goes to a secure area, it looses the contents.

    HOWEVER, if the person rebuys the stuff again and checks out, it'll work that time. It just doesn't work the first time!

    What could cause this?
    Free Picture and Video Hosting
    [http://photocabin.com][http://madproject.com]

  2. #2
    SitePoint Addict madproject.com's Avatar
    Join Date
    Jan 2003
    Location
    Ottawa, Canada
    Posts
    268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anybody?
    Free Picture and Video Hosting
    [http://photocabin.com][http://madproject.com]


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
  •