Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Perrin Harkins
On Tue, 2003-10-21 at 03:46, [EMAIL PROTECTED] wrote: > I made two calls to ties for a test and the server comsume alot of CPU and > never return. So I don't know what is going on. > > ... > print "Content-type: text/html\n\n"; > tie %session, 'Apache::Session::File', undef; > $sessId = $session{_

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Masetti Marco
[EMAIL PROTECTED] wrote: 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: The behaviour is the right one, I'll tell you now why is not what you would expect... The session object is intended to provide persistancy to your applic

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Ruslan U. Zakirov
[EMAIL PROTECTED] wrote: I made two calls to ties for a test and the server comsume alot of CPU and never return. So I don't know what is going on. ... print "Content-type: text/html\n\n"; tie %session, 'Apache::Session::File', undef; $sessId = $session{_session_id}; print "id: " . $sessId . "\n";

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread perl
I made two calls to ties for a test and the server comsume alot of CPU and never return. So I don't know what is going on. ... print "Content-type: text/html\n\n"; tie %session, 'Apache::Session::File', undef; $sessId = $session{_session_id}; print "id: " . $sessId . "\n"; #the prog get hung when

Re: Getting new id with every calls with Apache::Session

2003-10-21 Thread Ruslan U. Zakirov
Hello. Have you read `perldoc Apache::Session`? There is two examples. [EMAIL PROTECTED] wrote: 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 %sessio