RE: [users@httpd] one cookie for all html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Michael D. Berger [mailto:m.d.berger@xxxxxxxx] 
> Sent: Monday, May 23, 2005 10:25 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: RE: [users@httpd] one cookie for all html
> 
> 
> 
> 
> --
> Michael D. Berger
> m.d.berger@xxxxxxxx 
> 
> > -----Original Message-----
> > From: Joshua Slive [mailto:jslive@xxxxxxxxx] 
> > Sent: Monday, May 23, 2005 9:33 PM
> > To: users@xxxxxxxxxxxxxxxx
> > Subject: Re: [users@httpd] one cookie for all html
> > 
> > 
> > On 5/23/05, Michael D. Berger <m.d.berger@xxxxxxxx> wrote:
> > > Thanks for this information.  I read up on RewriteRule, and I
> > > now have it working in a preliminary way.  Any URI calls my one
> > > cgi. HOWEVER, I get a different cookie file name on the client
> > > for each URI.  I would like the same cookie file on the client
> > > for all URIs. Can this be done?  The client is IE 6.0.
> > 
> > Sounds like a problem with your cgi script.  It needs to 
> check if the
> > cookie exists in the client request before setting another one.
> > 
> > Joshua.
> I want to send the cookie whether or not one is returned.  If there is
> one, I want to replace it.  The Set-Cookie is trivial, and contains no
> path information.  If the client only calls the root, this 
> what happens.
> But if one of the subdirectories is called, the client gives 
> the cookie
> file another name.  Maybe I should try path=/ in the Set-Cookie?
> Tomorrow. Its bed time at UTC-0400.
> Thanks,
> Mike.
> 
path=/ indeed solves the problem, as a careful trading of the
rfc 2109 suggests.  I now get exactly one cookie rather than
several.
Mike.
--
Michael D. Berger
m.d.berger@xxxxxxxx 



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux