Sessions get messed up on external host

sahitsadiku

New Member
The problem sounds like this:The log-in using sessions works perfect on my localhost, but when the EXACTLY same files are uploaded to my host (hostgator), the sessions don't or, or they get messed up. Also the log-out feature doesn't work on the host.I've checked and every page has the session_start(); inside it.The session is not destroyed, even if my logout.php looks like this:\[code\]<?phpsession_start(); $_SESSION = array();session_unset();session_destroy();header("location:index.php");exit();?>\[/code\]Any suggestions?
 
Back
Top