I'm getting a new id with every refresh click; so, how am I suppose to
know it is the same session? Here's my code:
#!/usr/bin/perl
use Apache::Session::File;
use strict;
use warnings;
my %session;
my $sessId;
#I'm suppose to put the session id at the undef
#but how am i suppose to #know what it is the next time around?
#tie %session, 'Apache::Session::File', undef,
# { Directory => '/tmp', LockDirectory =>'/tmp' };
tie %session, 'Apache::Session::File';
$sessId = $session{_session_id};
print "Content-type: text/html\n\n";
print "id: " . $sessId . "\n";
...
What am I doing wrong?
thanks
-----------------------------------------
eMail solutions by
http://www.swanmail.com