Hi, I finally got Header command work (problem is due to mod_headers.so installation). But I still can't solve my originally problem, after the header command is run, a new Set-Cookie Header is appended. That is not what I want. What I want is describe below.
Originally reply header Set-Cookie: key1=A unknown string Set-Cookie: key2=Another unknown string What I want is, 1) the above two headers will combine to one Set-Cookie header as below. Set-Cookie: key1=A unknown string; key2=Another unknown string or 2) the second Set-Cookie header convert to below My-Cookie: key2=Another unknown string Please advise. Anson On Mon, Jan 5, 2009 at 10:19 AM, Morgan Gangwere <0.fracta...@gmail.com>wrote: > 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 > > > --------------------------------------------------------------------- > 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-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org >