Thomas Hilbig wrote:
I am in the process of changing my cookies (stored on my users’
browsers) so they can be shared across multiple servers under my
domain. So, instead of writing cookies with domain
‘www.mydomain.com’, I am writing them to ‘.mydomain.com’ so they can
be read by www.mydomain.co
ly To: [EMAIL PROTECTED]
> Sent: Friday, June 1, 2001 3:20 PM
> To: CGI Beginners
> Subject: Re: Retrieving cookies
>
> --- "Stokes, John" <[EMAIL PROTECTED]> wrote:
> > OK, I'm still having a problem.
> >
> > I still can'
I forgot to mention something: the first time you access the script through your
browser, it
won't have the cookie (since this is the first time it's being set). The second time
you access
it, the browser will return the cookie value and the script will display it.
> use strict;
> use CGI;
>
--- "Stokes, John" <[EMAIL PROTECTED]> wrote:
> OK, I'm still having a problem.
>
> I still can't seem to manipulate the cookie data. Say I want to record
> someone's name and then print out "hello so-and-so" when they return to my
> site. (That's not what this is actually for, but it's the same
OK, I'm still having a problem.
I still can't seem to manipulate the cookie data. Say I want to record
someone's name and then print out "hello so-and-so" when they return to my
site. (That's not what this is actually for, but it's the same idea.) Why
doesn't the code below work on the second vis
--- "Stokes, John" <[EMAIL PROTECTED]> wrote:
> I've figured out how to set a cookie, and I think I've retrieved it
> successfully (no errors, at least), but now how do I manipulate it? I can't
> figure out how to reference the cookie data.
>
> Here's an example of my code:
>
> use CGI;
> $q =
> -Original Message-
> From: Stokes, John [mailto:[EMAIL PROTECTED]]
> Subject: Retrieving cookies
>
> I've figured out how to set a cookie, and I think I've retrieved it
> successfully (no errors, at least), but now how do I manipulate
> it? I can't
> figure out how to reference the cooki