tkolbeck Posted March 2, 2007 Share Posted March 2, 2007 I have a members system on my site and I have a logon on my index page and when a user logons on it redirects the user to another page saying that they are loggod on. I need the index page to say that they are logged on on the index page. I dont know much about php but i think what I am trying to say is I need the session to also be on teh index page alos what do I do?? Sorry If doesnt make anysense at all :-\ Thanks, Tylor Link to comment https://forums.phpfreaks.com/topic/40913-sessions/ Share on other sites More sharing options...
tkolbeck Posted March 2, 2007 Author Share Posted March 2, 2007 I think what I would need is something like a header.php file that shows the users status (loggod on or not)? Link to comment https://forums.phpfreaks.com/topic/40913-sessions/#findComment-198140 Share on other sites More sharing options...
Snooble Posted March 2, 2007 Share Posted March 2, 2007 you need to set session variables etc. If you have a log in system then just use the session to stop pages being shown to users without them firstly logging in. just read about sessions. http://us3.php.net/manual/en/features.sessions.php Link to comment https://forums.phpfreaks.com/topic/40913-sessions/#findComment-198142 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.