RE: Apache::Cookie - weird values returned...

2003-02-10 Thread Rob Lambden
Eric Sammer wrote: What is weird is that the Apache::Cookie object DOES exist, it's just the value that's all wacked out or just plain missing. I've had problems with scripts and mod_perl code before where I inadvertently create keys in a hash when I'm testing to see if they exist. I now

Re: Apache::Cookie - weird values returned...

2003-02-10 Thread Eric Sammer
Rob Lambden wrote: I've had problems with scripts and mod_perl code before where I inadvertently create keys in a hash when I'm testing to see if they exist. I now always use something Like: i always use either defined or exists as appropriate to avoid these errors. i've gotten bitten in the

Re: Apache::Cookie - weird values returned...

2003-02-10 Thread Rob Lambden
Eric Sammer wrote: the expire *i'm* specifying is just a relative '-1D' to cause the browser to drop it. if there's a better way, i'm certainly open to suggestions. The HTTP headers do not support relative dates as far as I know. Thus when you specify a relative date the code must claculate

Apache::Cookie - weird values returned...

2003-02-07 Thread Eric Sammer
All: I've got a strange Apache::Cookie issue that seems to have recently snuck up on me, although I've seen similar behavior in the past. I have a PerlAccessHandler called GroupAccess that handles all access to a site**. If there's a user_id cookie, it pulls urls allowed to that user from a