Thanks for your feedback John,
 
I of course already have my session's table up and running and sessions
set to database, no worries here. 
 
However this does not allow my sessions to persist across say
http://domain.com <http://domain.com/> , http://subdomain.domain.com
<http://subdomain.domain.com/>  and or http://domain2.com
<http://domain2.com/>  , all of which access certain areas of the
current (single) cake app. Are you implying cake should do so out of the
box (with db sessions in use)?
 
 
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of John David Anderson (_psychic_)
Sent: Tuesday, 8 May 2007 8:55 a.m.
To: [email protected]
Subject: Re: Persisting Session Across Domains
 
 
On May 7, 2007, at 2:08 PM, Paul Webster wrote:



I have a project with various areas accessible and only accessible via
certain domains sub domains etc. This was fine as it was a pretty simple
site just providing information with no need for logins etc, but of
course the site has currently evolved and now will be providing some
user options and the like requiring me to track site state.
 
So I understand the ins and outs of persisting sessions through storing
them in the db and like, was just wondering if anyone has tackled this
in cake and where they saw best to implement the code to do so?
Implement what code? Once you run the SQL to set up the table and adjust
your core config to use database sessions, you should be good to go. You
can create a model for your sessions table too, if you want, but that's
not much work either (especially if you use Bake).
 
-- John



__________ NOD32 2245 (20070506) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to