Problem with session
Posted: Mon Jul 19, 2004 5:09 am
I made a page named 'index.php' and inside of it i have some methods that are displaying some texts, images and all this content depends by session.
If i have session is displayng me something, otherwise it displays me a different content.
My problem is that i do not know how to test and were to put the session_start() function to be able to test this, because if i put this in the header it detects my session and it allways displays me the content with session. So i'm asking is should i check if a parameters exists in that session (to test session valability) or is there any other way.
If i have session is displayng me something, otherwise it displays me a different content.
My problem is that i do not know how to test and were to put the session_start() function to be able to test this, because if i put this in the header it detects my session and it allways displays me the content with session. So i'm asking is should i check if a parameters exists in that session (to test session valability) or is there any other way.