Hi,

A session is meant to exist on one domain...  You could pass the session to
another domain to *hold* for you:

<a href='https://secure.com/enter?oldSID=<?=session_id();?>'>secure
checkout</a>

Then the secure domain would be responsible for remembering the old session
id, and passing it back to your site when finished...


Essentially, I think that each domain would have it's own session... it's
your job for each site to remember the other site's session when jumping
between the two.

Obviously this is only an issue when cookies aren't available.


Justin



on 21/03/03 5:18 AM, PHP List ([EMAIL PROTECTED]) wrote:

> Hi All,
> I have a question about sessions.
> I need to pass session data from one domain to a secure domain.
> (www.mydomain.com to www.securedomain.com).
> I would like to preserve the session data in case the visitor goes back to
> www.mydomain.com. I thought about just passing the session ID to
> www.securedomain.com, but if I need to destroy the session while the visitor
> is in www.securedomain.com, I am hoping this will also include destroying data
> from www.mydomain.com.
> Basically, I am talking about a shopping cart system. If the user decides to
> stop half way through the checkout on the secure site and continue shopping in
> the store, I want the cart to remain. But if the user completes the checkout
> process on the secure domain, their cart should be empty when going back to
> the original domain.
> 
> Thanks for any help.
> 
> Chris
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.461 / Virus Database: 260 - Release Date: 3/11/2003


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to