[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Request for Information
- Subject: Re: Request for Information
- Date: Thu, 31 Aug 2006 16:38:07 -0400
- From: "dhaval gada" <suppressed>
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"} it returns nothing.
Storing a scalar value in %session is just for testing purpose. I intend to store objects for my web application.
What could be the reason ???
Thanks & Best Regards,
Dhaval Gada.
On 8/31/06, Jonathan Vanasco <suppressed> wrote:
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, Perrin Harkins wrote:
> Did you look at line 40 to see what it does? It's failing to validate
> the session ID you passed in. You might have some extra junk
> characters
> in there, like a line break at the end.
Did you follow perrin's advice and strip leading/trailing whitespace?
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.