I am having a session problem.
I have 3 sub domains
beta.cmela.com
classifieds.cmela.com
community.cmela.com
I can login on beta.cmela.com but i am not to carry it on classifieds.com and community.cmela.com
Please help me
session problem
Moderator: General Moderators
Re: session problem
you can use parse_url() to check what domain they are coming from and if it isnt what they currently are on then use session_destroy();
It should empty out all session variables I believe.
If you have globals, use unset for them. And cookies have to be destroyed by setting them to a time in the past.
I can't give details because I just got that from google
It should empty out all session variables I believe.
If you have globals, use unset for them. And cookies have to be destroyed by setting them to a time in the past.
I can't give details because I just got that from google