[Israel.pm] perl-cgi and cookies/sesoen..

Gabor Szabo gabor at perl.org.il
Wed Oct 20 06:16:53 PDT 2004


On Wed, 20 Oct 2004, amit sides wrote:

> im working with CGI to write a littel system and i need to remember the
> user by cookies
> now...do i need to write a module that cheak every page at the site the
> identity of the user ?
> or can i use sesoens to remember him all the time that his browser is open ?
> how can i do that ?

If you are using plain CGI then every page needs to check if the session
represented by a cookie still arrives and is still valid.

read about CGI::Session
http://search.cpan.org/dist/CGI-Session

and of course CGI.pm

Gabor




More information about the Perl mailing list