Hi,
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:
"f92c58deb6047b12470d51f6e1767e8f" [Incomplete last line] 2 lines, 56 character
s (6 null)
[Hit return to continue]
And when I press the ENTER key, it shows the foll:
^E^F^C^A
f92c58deb6047b12470d51f6e1767e8f^K_session_id
I get the errors only while retrieving the session. May be the session is never created and it does'n't give any error as well. If thats the case, how do I check whether a new session is created or not and if it is then is it stored correctly in the files or not?
Will await your reply on this,
Thanks & Best Regards,
Dhaval Gada.
On 8/31/06, Perrin Harkins <[EMAIL PROTECTED]> wrote:
On Thu, 2006-08-31 at 12:37 -0400, dhaval gada wrote:
>
> Hi,
> Well I did try printing the value for $cookie and gives me the foll
> value:
>
> EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6;
> SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a;
> BIGipServerwebster2=593498284.20480.0000
That's not a session ID.
> Also, while trying to retrieve the session, I tried supplying the
> following values for $cookie:
> 1) EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6;
> SESSION_ID=97f3d8207d2e8d9afd7493ca28c3908a;
> BIGipServerwebster2=593498284.20480.0000
>
> 2) EMBPERL_UID=df9c7b02f04343807ef7ab570ab43dc6;
> 97f3d8207d2e8d9afd7493ca28c3908a;
> BIGipServerwebster2=593498284.20480.0000
>
> 3) 97f3d8207d2e8d9afd7493ca28c3908a
That last one looks like a session ID. That's what you should be
passing in.
> But, each time, I get the same error , i.e.
> Died
> at /usr/local/ext/perl/5.8.0/lib/site_perl/Apache/Session/Generate/MD5.pm line 40.
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.
- Perrin