coops Posted June 8, 2007 Share Posted June 8, 2007 Hello, I am redeveloping my personal website into a complete php website, using sessions. The session have always worked in the passed but it doesn't seem to keep the session data between different pages. This is only when using Firefox.. Seems fine with internet explorer. my website link would be http://coopsnet.net/sessionstart.php I do my sessions as below.. but it does not seem to keep the data session_start(); $_SESSION['CSSFILE'] = "http://coopsnet.net/maincss.css"; I have a php function method that check this session and if its empty it will loop up back to the sessionstart (where everything is set) and then pack to that page. The server is version 4.4.4.. but can't see this being a prob as it wouldn't work with IE? Anyone with any ideas? Thanks Chris C Link to comment https://forums.phpfreaks.com/topic/54733-php-session-and-firefox/ Share on other sites More sharing options...
MemphiS Posted June 8, 2007 Share Posted June 8, 2007 Do you have session_start(); at the top of every page you wish to keep the session alive? If not thats your problem. Link to comment https://forums.phpfreaks.com/topic/54733-php-session-and-firefox/#findComment-270705 Share on other sites More sharing options...
coops Posted June 8, 2007 Author Share Posted June 8, 2007 yeah use the session_start(); at the top of each page :-( Link to comment https://forums.phpfreaks.com/topic/54733-php-session-and-firefox/#findComment-270706 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.