Forum Moderators: coopster

Message Too Old, No Replies

expanding $ SESSIONS range to beyond domain prefix

nothing more to do with the RewriteEngine

         

phazei

5:28 pm on Jul 11, 2006 (gmt 0)

10+ Year Member



I found that if I was logged in on
"domain.com" I wasn't logged in on "www.domain.com"
I'm guessing the PHPSESSID isn't being carried from one to the other.
Besides forcing the www to be there or not, is there a way I can get PHP sessions to propograte between "www.domain.com/..." and "domain.com/..." so it doesn't make a difference if you happen to go back and forth durring a session?

Thanks,
Adam

PS:i got the issues with the rwengine from my last post resolved.

coopster

6:58 pm on Jul 11, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Assuming you are using session cookies, this thread explains how to Set php.ini for cookie subdomains for multiple sites [webmasterworld.com].