Mark,
Thanks for the reply!
I believe the -- are in the email, and not in source code
We're using CGI-Session-4.00_08
I don't have the firefox plugin.. the page is at
http://www.webscope.com/cgi-bin/session1.cgi if you care to have a look
I added this line again in session1.cgi so you can see the header being
printed:
print $cgi->header( -cookie=>$cookie );
Thanks in advance,
David
----- Original Message -----
From: "Mark Stosberg" <mark-WmyhgDpj2fCHT8/ATrE1yw@xxxxxxxxxxxxxxxx>
To: "David Staschover" <davidsta-YnlBYnBh82ZWk0Htik3J/w@xxxxxxxxxxxxxxxx>
Cc: <cgi-session-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx>
Sent: Tuesday, August 09, 2005 2:46 PM
Subject: Re: [Cgi-session-user] Problem setting up CGI::Session
On Tue, Aug 09, 2005 at 02:34:30PM -0400, David Staschover wrote:
>
> $sid=$cgi->cookie("CGISESSID");
> $session = new CGI::Session(undef,$sid,{Directory=>'/tmp/sessions'});
It looks like there are some funny characters in your code you pasted in
that my mail program displays as "--". Can you confirm whether are not
those actually exist in your code?
What version of CGI::Session are you using?
You code looks fairly sound.
I would also use your browser to inspect the headers and/or cookies
being set. The "Web Developers Toolbar" extension for Firefox is really
helpful for that.
Mark
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Cgi-session-user mailing list
Cgi-session-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cgi-session-user
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
|