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[2]: Getting new id with every calls with Apache::Session

2003-10-21 Thread Mike P. Mikhailov
Hello [EMAIL PROTECTED], Tuesday, October 21, 2003, 1:46:06 PM, you wrote: psc> I made two calls to ties for a test and the server comsume alot of CPU and psc> never return. So I don't know what is going on. psc> ... psc> print "Content-type: text/html\n\n"; psc> tie %session, 'Apache::Session::

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

Getting new id with every calls with Apache::Session

2003-10-20 Thread perl
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