How can you check if a session exists?
The pseudo code for this would be like this:
if( session exists ) { session_start(); ..... ...... } else { print message "Session expired or wrong session id";
showScreen("Login"); }
T.
use [man]session_id[/man]. it will return an empty string (which evaluates to boolean FALSE) if there is no session ID.