[Israel.pm] CGI::Session

Shlomi Fish shlomif at iglu.org.il
Fri Feb 29 01:49:22 PST 2008


Hi Shmuel!

On Friday 29 February 2008, Shmuel Fomberg wrote:
> Hello All.
>
> I'm trying to write a new web site, and was reading about CGI::Application
> and CGI::Session.
> I understand how the CGI::Session use some storage (either file of a
> simplified database table) to store session information, and a cookie to
> connect the user to that session. But how do I authenticate the user? Where
> in the loop I verify user name/password, and say 'I know this user, this is
> his data', for the Session object to keep?
>

You can find an example for using CGI::Session and CGI::Application to do this 
here:

http://svn.berlios.de/svnroot/repos/web-cpan/WWW-OneTable-MiniReporter/trunk/iglu/www/

Start from App-debug.pl.

Regards,

	Shlomi Fish

---------------------------------------------------------------------
Shlomi Fish      shlomif at iglu.org.il
Homepage:        http://www.shlomifish.org/

I'm not an actor - I just play one on T.V.



More information about the Perl mailing list