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
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.com, www2.mydomain.co
ttings itself.
>
> - Original Message -
> From: "Matthew Harrison" <[EMAIL PROTECTED]>
> To: "Polikarpov Cyrill" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 12, 2002 12:02 AM
> Subject: Re: setting and
re is an option in browser settingd to ask. Check Your
> privacy settings.
> Shall work :)
>
>
> - Original Message -
> From: "Matthew Harrison" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, March 11, 2002 11:42 PM
> Subject:
Ok, now i am pretty sure what i have done is right because i copied it from
a book, but I don;t know if it is right to set or retrieve a cookie. here
is my script that should set a cookie, allowing visitors to customise the
look of my site:
#!/usr/bin/perl
use CGI qw/:standard/;
$q = new CGI;
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'
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 = new CGI();
$myCookie = $q->cookie(-name=>'Fyre',
12 matches
Mail list logo