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 <[EMAIL PROTECTED]> 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?


Reply via email to