468,270 Members | 1,547 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,270 developers. It's quick & easy.

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
Jul 17 '05 #1
1 1726
"Spidah" <h.*********@eggstra.co.nz> wrote in message news:<Ib****************@news.xtra.co.nz>...
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?


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.com/groups?q=php+session+https>

--
http://www.sendmetoindia.com - Send Me to India!
Email: rrjanbiah-at-Y!com
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Craig Matthews | last post: by
7 posts views Thread by Fnark | last post: by
7 posts views Thread by Thaynann | last post: by
2 posts views Thread by Raghu Raman | last post: by
17 posts views Thread by jensen bredal | last post: by
3 posts views Thread by Shapper | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.