Re: How to combine multiple set-cookie headers into one?

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

 



anson ho wrote:
Hi Morgan,
Thanks for your reply.

The case is that, many cell phone clients can't handle multiple Set-Cookie headers, and I don't have the right to change the the web application to modify the reply headers. So, it seems to me that change the headers in apache web server is the only option. I've read that mod_header.so can change the headers, and I've tried but no success. So I want to someone to point me to the correct direction. I am pretty new to apache web server administration.

the Set-Cookie header can set multiple cookies.
try adding this line:
Set-Cookie MyTestCookie=MyTestValue;MyOtherTestCookie=MyOtherTestValue
and load the page, then check if the cookies are set.

Under firefox, the cookies are visible from tools->options->privacy->show cookies Search for your cookie name or for the domain that you registered the cookies with (defaultly, the domain that sent the headers)

--

Morgan Gangwere
Unknown Software

begin:vcard
fn:Morgan Gangwere
n:Gangwere;Morgan
org:Unknown Software;Programming
adr;dom:;;Contact for details.
email;internet:0.fractalus@xxxxxxxxx
title:Developer
tel;work:+1 505 514 2863
note;quoted-printable:Find me on IRC:=0D=0A=
	~indrora!fawks@xxxxxxxxxxxxxxxx=0D=0A=
	=0D=0A=
	via IM:=0D=0A=
	MSN: fractalscapes@xxxxxxxxxxxx=0D=0A=
	Yahoo: trogdor_t_b=0D=0A=
	GTalk (talk.google.com SSL): 0.fractalus@xxxxxxxxx=0D=0A=
	=0D=0A=
	I'm all over the net!
url:http://sonof.bandit.name/
version:2.1
end:vcard

---------------------------------------------------------------------
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