in reply to Login/Logout

If I understood clearly you need to restrict access to some web pages. So, first you can use Apache features for that: Authentication, Authorization and Access Control.

Second way is using sessions. Have a look Apache::Session or CGI::Session. Also, there are good CGI::Session Tutorial and CGI::Session CookBook.

Michael Stepanov aka nite_man

It's only my opinion and it doesn't have pretensions of absoluteness!

Replies are listed 'Best First'.
Re^2: Login/Logout
by Anonymous Monk on Mar 30, 2016 at 14:18 UTC

    Logging out seem difficult. I could stay logged in for eternity?

      The common approach is to have a timeout/end date and/or a date of last contact stored in your session. If the timeout or date of last contact is too long ago, the session is considered invalid and you need to enter your password again.

      Many thanks, Connon, I will comply. Actually I'm 'beewarb' not registered, {but I thought I was!} beewarb

Re^2: Login/Logout
by titanic_fanataic (Acolyte) on Jan 13, 2005 at 21:27 UTC
    I would love to use these methods, but unfortunately, I don't have access to any of these mods on my server. I would have to use either cookies or hidden form feilds. In this case I believe that it would be wise to use cookies... Could someone point me in the right direction for a turorial on this...