Reputation: 12554
I am working on a website , everything worked good , but I maked a copy of my website (I run at localhost)
when I login at new site , the session created but , for old site ! I can easily login to old site with new site =))
my problem is here new site do not store (or find) the session , when I check with firebug , a new cookie created successfully.
how can I solv it ?
Upvotes: 0
Views: 202
Reputation: 121
Use a different session_name(String)
for each site and before session_start()
.
More info: http://php.net/manual/en/function.session-name.php
Upvotes: 2