Sessions

I used CGI::Session.

Here's an example,

#!/usr/bin/perl

use strict;
use CGI::Session;

my $session = CGI::Session->new();
my $sessid = CGI->id();

### Set params
$session->param('variable','value');

### Retrieve params
$variable = $session->param('variable');

### Print headers that set a cookie with the session id
print $session->header();

Page Comments (Click to edit)






[Click to add or edit comments])

Please prepend comments below including a date

Design by N.Design Studio, adapted by solidGone.org (version 1.0.0)
Have a nice day.