You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Matus UHLAR - fantomas <uh...@fantomas.sk> on 2007/08/05 13:53:18 UTC

Re: [users@httpd] Setting cookies by a website

> On 04/07/07, ramakrishnaprasad.annasamudram@wipro.com
> <ra...@wipro.com> wrote:
> >We are trying to  read the cookie information from the browser settings 
> >and act on that  information.But we are facing a problem here.The cookie 
> >set by our test server  webpage is different from the test server of the 
> >client,though in effect we both  are accessing the same page.The only 
> >difference is we tested in our server using  IE, and on the client side we 
> >had to use Mozilla.If my explanation of the  problem is clear,what i 
> >wanted to know is 'can the browser type(ie Vs Mozilla)  affect the way the 
> >cookie is set?'.Pardon me i am new to apache and it is all  learning on 
> >the job for me.

On 04.07.07 13:53, Vincent Bray wrote:
> The only time I've seen MSIE and Firefox treat cookies differently was
> when somebody had mistakenly used a local dns name with an underscore
> '_' in it. MSIE, ignored the underscore in the name and so the
> hostname as seen by the two browsers differed. As a result, only
> Firefox returned the cookie to the server. It could be argued that
> MSIE was doing the right thing.

yes, since underscore is not valid character in DNS name... If this is the
problem, replacing underscores with dashes or removing them should help.
-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Windows 2000: 640 MB ought to be enough for anybody

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org