Thank you for the hint Ralph. :)

In fact, on my web site the cart is available to everyone even people that
has not signed in yet but I achieved what I wanted.

There is still one problem but I think it's a problem with Zend_Session. The
regenerateId() method comments say that "Regenerate the session id.  Best
practice is to call this after session is started." but in start() the
regenerateId() method is called and there is no option to prevent this from
happening.

That behaviour breaks my process since as soon as my secondary site receive
the session ID from the primary site, it is regenerated.

I think that an option should be added to allow one to disable ID
regeneration. To avoid breaking current behaviour, it should be set to true
by default.

What do you think of that ? I can provide the patch for this feature.
-- 
View this message in context: 
http://www.nabble.com/Sharing-a-session-between-2-hostnames-tp20932824p20938506.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to