'Twas brillig, and Jan Pieper at 10/12/08 13:21 did gyre and gimble:
Store session data in memcached.
http://kevin.vanzonneveld.net/techblog/article/enhance_php_session_management/
That wouldn't solve anything, the problem is the cookie that is stored
on the client (typically PHPSESSID) is only submited to the one domain.
The fact that the server keeps it in memcache is technically irrelevant.
If the user does not supply the right key, they wont be able to load
their session data.
Where memcache comes in useful is if the same session needs to be
accessed on two web *servers* (not just hostnames!).
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
Mandriva Linux Contributor [http://www.mandriva.com/]
PulseAudio Hacker [http://www.pulseaudio.org/]
Trac Hacker [http://trac.edgewall.org/]