[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: Request for Information
From: "dhaval gada" <dhavalgada () gmail ! com>
Date: 2006-08-31 20:38:07
Message-ID: 77fcf2ac0608311338rc00ef1co24b75435980c22f1 () mail ! gmail ! com
[Download RAW message or body]
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 <modperl-list@2xlp.com> 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?
>
>
[Attachment #3 (text/html)]
<div>Hi,</div>
<div> 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.</div> \
<div> </div> <div>For eg: I store <font \
color="#6600cc">$session{"visit"} = 1</font> when creating the \
session. However, when I retrieve the session and try to print the value of </div> \
<div><font color="#6600cc">$session{"visit"}</font> it returns \
nothing.<br> </div> <div> Storing a scalar value in %session is \
just for testing purpose. I intend to store objects for my web application.</div> \
<div> </div> <div>What could be the reason ???</div>
<div> </div>
<div>Thanks & Best Regards,</div>
<div>Dhaval Gada.</div>
<div> </div>
<div><br> </div>
<div><span class="gmail_quote">On 8/31/06, <b class="gmail_sendername">Jonathan \
Vanasco</b> <<a href="mailto:modperl-list@2xlp.com">modperl-list@2xlp.com</a>> \
wrote:</span> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px \
0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>On Aug 31, 2006, at 3:24 PM, dhaval \
gada wrote:<br><br><br>> I checked the files created in the \
/tmp/sessions directory. When I <br>> tried to view the contents of the \
file named<br>> "f92c58deb6047b12470d51f6e1767e8f ", using the vi \
editor, it gave<br>> me the following message:<br><br>On Aug 31, 2006, at 3:06 PM, \
Perrin Harkins wrote: <br>> Did you look at line 40 to see what it \
does? It's failing to validate<br>> the session ID you passed \
in. You might have some extra junk<br>> characters<br>> in there, \
like a line break at the end.<br><br> Did you follow perrin's advice and strip \
leading/trailing whitespace?<br><br></blockquote></div><br>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic