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

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

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


New User

May 14, 2003, 7:42 AM

Post #1 of 2 (1008 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.

Thaumaturge / Moderator

May 15, 2003, 1:07 AM

Post #2 of 2 (1001 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

Dave Cross, Perl Hacker, Trainer and Writer
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