URGENT ssl/cookie problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Spidah

    URGENT ssl/cookie problem

    I am working on a shopping cart for a client and have struck a weird
    problem.

    The client's ssl setup is on a different url to the main site. As a result
    we get two copies of our shopping cart session cookie generated - one under
    each url. I gather the script is creating separate sessions for each url.

    After the customer's payment approval/invoice is generated the cart is
    supposed to be cleared, but only one of the cookies is being emptied.

    How do I delete both session cookies from inside one url? Is this possible?

    Thanks

    Hamilton G Laughland


  • R. Rajesh Jeba Anbiah

    #2
    Re: URGENT ssl/cookie problem

    "Spidah" <h.laughland@eg gstra.co.nz> wrote in message news:<Ibogc.238 $2%1.5329@news. xtra.co.nz>...[color=blue]
    > I am working on a shopping cart for a client and have struck a weird
    > problem.
    >
    > The client's ssl setup is on a different url to the main site. As a result
    > we get two copies of our shopping cart session cookie generated - one under
    > each url. I gather the script is creating separate sessions for each url.
    >
    > After the customer's payment approval/invoice is generated the cart is
    > supposed to be cleared, but only one of the cookies is being emptied.
    >
    > How do I delete both session cookies from inside one url? Is this possible?[/color]

    1. Cookies are not accessible between domains.
    2. Sometimes ago, it was reported that PHP sessions are not persistent
    between http and https pages of *same domain* (Is it your case?). And
    the suggestion provided was to pass the session id across the pages
    manugally. But, I never faced such problem. Probably you may look at
    <http://groups.google.c om/groups?q=php+se ssion+https>

    --
    http://www.sendmetoindia.com - Send Me to India!
    Email: rrjanbiah-at-Y!com

    Comment

    Working...