Try CGI::Cookie

Dan

> -----Original Message-----
> From: Nigel Peck - MIS Web Design [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 27, 2003 6:18 AM
> To: CGI List; [EMAIL PROTECTED]
> Subject: Cookies, CGI
> 
> 
> I'm trying to set a cookie and have it returned to the script 
> before the user has to visit another page.
> 
> I'm currently doing it like this:
> 
> Original Cookie already set
> User request -> Script returns Set-cookie and Refresh to 
> second script Second script called with original cookie, not 
> new one User Request -> New cookie used
> 
> I want the second script to be called with the new cookie. 
> I've also tried
> this:
> 
> Original Cookie already set
> User request -> Script returns Set-cookie and Refresh to 
> refresh script Refresh script returns refresh to Second 
> script Second script called with original cookie, not new one 
> User Request -> New cookie sent
> 
> Shouldn't the browser create a new http request and send the 
> current cookies when performing a refresh?
> 
> Any light on the matter appreciated.
> 
> Thanks
> Nigel
> 
> MIS Web Design
> http://www.miswebdesign.com/
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to