ColtsFoot has asked for the wisdom of the Perl Monks concerning the following question:
server1.pl then executes the following codemy $url =qq(http://server1.xxx.yy.zz/cgi-bin/server1.pl?id=$id); $page->redirect($url);
When I then check the the two ids they do not match $currid is in fact a new sessionmy $session_dbh = DBI->connect('dbi:Pg:dbname=xyzzy') or die $DBI::err +str; my $id = $page->param('id'); my $session = CGI::Session->new("driver:PostgreSQL", $id, {Handle=>$se +ssion_dbh}); my $currid = $session->id();
UPDATE:Found it the clocks on server2 was an hour behind
and my session was set to expire after 15 mins so when
server1 went to check the last time the session had been active it
thought it had timed out :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OP's editing of parent
by ww (Archbishop) on Jun 22, 2006 at 17:46 UTC |