Re: Request for Information

2006-09-01 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Sep 01, 2006 at 04:35:38PM -0400, dhaval gada wrote: > Hi, > I am not using any references to subroutines in the session data. > > And if some objects are implemented in Perl as references to subroutines, > and > some data structures include

Re: Request for Information

2006-09-01 Thread Perrin Harkins
On Fri, 2006-09-01 at 16:35 -0400, dhaval gada wrote: > I am not using any references to subroutines in the session data. Maybe you're trying to store a DBI handle. > And if some objects are implemented in Perl as references to > subroutines, and > some data structures include also subroutine

Re: Request for Information

2006-09-01 Thread dhaval gada
Hi,   I am not using any references to subroutines in the session data.   And if some objects are implemented in Perl as references to subroutines, andsome data structures include also subroutine references, then does it imply that no session management is possible with objects in embperl

RE: Request for Information

2006-09-01 Thread Gerald Richter
Hi, > I did try using %udat initially, but it throws the foll error: > > Can't store CODE items at blib/lib/Storable.pm (autosplit > into blib/lib/auto/Storable/_freeze.al) line 282, at > /usr/local/ext/perl/5.8.0/lib/site_perl/Apache/Session/Seriali > ze/Storable.pm line 21 > > That happen

Re: Request for Information

2006-09-01 Thread dhaval gada
Hi, I did try using %udat initially, but it throws the foll error:   Can't store CODE items at blib/lib/Storable.pm (autosplit into blib/lib/auto/Storable/_freeze.al) line 282, at /usr/local/ext/perl/5.8.0/lib/site_perl/Apache/Session/Serialize/Storable.pm line 21 Thanks & Best Regards, -Dhaval.  

RE: Request for Information

2006-08-31 Thread Gerald Richter
Hi, > Well I did try printing the value for $cookie and gives me > the foll value: > > EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6; > SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a; > BIGipServerwebster2=593498284.20480. > > Also, while trying to retrieve the session, I tried supplyi

Re: Request for Information

2006-08-31 Thread dhaval gada
Hi,   My apologies. I did remove the leading/trailing spaces and it does'n't throw any errors now. However, I cannot retrieve the stored data.   For eg:  I store $session{"visit"} = 1   when creating the session. However, when I retrieve the session and try to print the value of $session{"visit"} 

Re: Request for Information

2006-08-31 Thread Jonathan Vanasco
On Aug 31, 2006, at 3:24 PM, dhaval gada wrote: I checked the files created in the /tmp/sessions directory. When I tried to view the contents of the file named "f92c58deb6047b12470d51f6e1767e8f ", using the vi editor, it gave me the following message: On Aug 31, 2006, at 3:06 PM, Perri

Re: Request for Information

2006-08-31 Thread dhaval gada
Hi,   I checked the files created in the /tmp/sessions  directory. When I tried to view the contents of the file named "f92c58deb6047b12470d51f6e1767e8f ", using the vi editor, it gave me the following message:   "f92c58deb6047b12470d51f6e1767e8f" [Incomplete last line] 2 lines, 56 characters (6

Re: Request for Information

2006-08-31 Thread Perrin Harkins
On Thu, 2006-08-31 at 12:37 -0400, dhaval gada wrote: > > Hi, > Well I did try printing the value for $cookie and gives me the foll > value: > > EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6; > SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a; > BIGipServerwebster2=593498284.20480. That's not

Re: Request for Information

2006-08-31 Thread dhaval gada
Hi,   Well I did try printing the value for $cookie  and gives me the foll value:   EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6; SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a; BIGipServerwebster2=593498284.20480.   Also, while trying to retrieve the session, I tried supplying the following va

Re: Request for Information

2006-08-30 Thread Jonathan Vanasco
On Aug 30, 2006, at 4:03 PM, Perrin Harkins wrote: my $session_cookie = "SESSION_ID=$session{_session_id};"; $r->header_out("Set-Cookie" => $session_cookie); Does that even create a valid cookie? Cookies have expiration dates , paths, and domains $cookie = $ r->header

Re: Request for Information

2006-08-30 Thread Perrin Harkins
[ Please keep replies on the mailing list ] On Wed, 2006-08-30 at 09:29 -0400, dhaval gada wrote: > If its the 1st time... then the following code. (i.e. session > creation) > > [- > eval { > tie %session, 'Apache::Session::File', undef, > { Directory => './tmp/sessio

Re: Request for Information

2006-08-29 Thread Perrin Harkins
On Tue, 2006-08-29 at 14:45 -0400, dhaval gada wrote: >I did try the Embperl site, but could'n't find anything there. Did you try the Embperl mailing list? > Also, I believe is it more to do with the Apache::Session module. There is no code in Apache::Session that generates that error messag

Re: Request for Information

2006-08-29 Thread dhaval gada
Hi Perrin, I did try the Embperl site, but could'n't find anything there. Also, I believe is it more to do with the Apache::Session module. I am able to create a new cookie when the session is started for the 1st time, but it fails and gives the error mesg when it either tries to read the cook

Re: Request for Information

2006-08-29 Thread Perrin Harkins
On Tue, 2006-08-29 at 13:35 -0400, dhaval gada wrote: > [1989]ERR: 24: Error in Perl code: Global data is not accessible: Died > at /usr/local/lib/site_perl/Apache/Session/Generate/MD5.pm line 40. > > Atari 800 HTML::Embperl 1.3.6 [Fri Aug 25 11:18:35 2006] If you're really running on an Atari 80