CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
login/logout script

 



ajay458
New User

May 14, 2003, 7:42 AM

Post #1 of 2 (411 views)
login/logout script Can't Post

I have setup a login/logout script in PERL. Once a user is authenticated,
he/she is given options based on their login. Upon logout, they get re-directed to the login page. My dilemma is that the users can use the
"back" button on their browser and continue to edit/view, etc. upon logout. I want the users to login again instead of using the "back" key.
What is the easiest way to implement this? Would cookies do the job?
If so, how do I setup/delete cookies using PERL?

TIA for all the help.


davorg
Thaumaturge / Moderator

May 15, 2003, 1:07 AM

Post #2 of 2 (404 views)
Re: [ajay458] login/logout script [In reply to] Can't Post

Cookies would be a good way to handle this. Look at the section on using cookies in the documentation for CGI.pm.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives