Hi,
I am developing a system where upon login (valid username and password) a session is started.
My first script (script1.pl) contain the login and a menu of 2 actions. Each action calls another scripts (script2.pl and script3.pl).
I want to check at top of every page if the session is still valid or the user has logged out. If the user has logged out they should be redirected to the script1.pl page.
My concern is if someone has logged out, he could not be granted access.
I would really apprecite if you could provide me with the script for creating session after successful login and validating this session at everypage.
Thanks all for your prompt help and concern.
Imad77
I am developing a system where upon login (valid username and password) a session is started.
My first script (script1.pl) contain the login and a menu of 2 actions. Each action calls another scripts (script2.pl and script3.pl).
I want to check at top of every page if the session is still valid or the user has logged out. If the user has logged out they should be redirected to the script1.pl page.
My concern is if someone has logged out, he could not be granted access.
I would really apprecite if you could provide me with the script for creating session after successful login and validating this session at everypage.
Thanks all for your prompt help and concern.
Imad77