perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allen haim <al...@netherrealm.net>
Subject Re: How to troubleshoot session handling?
Date Wed, 20 Apr 2005 22:43:46 GMT
Hey, what do you know? It works now.

Thank you Cliff.

Instead of SetEnv I used PerlSetEnv, and for the cookie path I used /tmp.

Now the big question: how come I never had to do this before? It used to
work just fine without those variables in the .conf.

Allen

On Wed, Apr 20, 2005 at 03:13:19PM -0700, ___cliff rayman___ wrote:
> allen haim wrote:
> 
> >OK, I've looked in /tmp, and I see a file with the same name as the
> >_session_id key in %udat.
> >
> >Looking in that file, I see some control characters throughout, I see my
> >data in plain text, (just 'allen' and 'hello') and I see the session id. 
> > 
> >
> ok - so embperl is able to write the session data to the file.  the 
> control characters are just part of the serialization and storage 
> process.  the only problem you are having is that the SET-COOKIE header 
> is not being set with the session ID.
> 
> so,  what have you set for??:
> EMBPERL_COOKIE_DOMAIN
> EMBPERL_COOKIE_PATH
> EMBPERL_COOKIE_EXPIRES
> 
> s/b something like:
> SetEnv EMBPERL_COOKIE_DOMAIN .netherrealm.net
> SetEnv EMBPERL_COOKIE_PATH /
> SetEnv EMBPERL_COOKIE_EXPIRES "+7d"
> 
> -- 
> _____cliff_rayman_____________________________________
> Business Consulting and Turnaround Management
> [web] http://www.rayman.com/
> [web] http://all-clear-turnaround-management.com/
> [eml] cliff __AT__ rayman.com
> [phn] 888-736-3802 x701
> [fax] 818-743-7404
> ______________________________________________________
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 

-- 
happy random snippet from Allen Haim reviewing Allen Haim:


His particular "guitar" was lovingly hand-made in a Mexican factory.


[more at http://www.netherrealm.net/~allen/songs]

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message