PDA

View Full Version : Cookie problem.


Morgoth
03-13-2003, 08:22 PM
This is odd and I need to know of a fix!

If someone goes to my new domain name and types in www.domain.com and login it, it stores a cookie on there computer under the name:
(User on computer)@www.domain[1].txt

Now if someone goes to my new domain name and types in domain.com and login it, it stores a cookie on there computer under the name:
(User on computer)@domain[1].txt

That's wrong because they have to login once to get a cookie for one name, then they would have to get login again if they typed the other name in.
What am I suppose to do??????????? :(

Please don't make me have to add a checking script to all my pages to forward to the other domain name if they go to the wrong one. :(

Anyone know anything about this?
(I might be in the wrong forum)

brothercake
03-13-2003, 08:39 PM
I think browsers consider those two different domains, and won't allow any kind of cross communication.

afaik ...

I would suggest you configure your server to intercept domain.com requests and URL-rewrite them to www.domain.com

Morgoth
03-13-2003, 09:33 PM
Yeah.. I am guess I am going to need to switch my OS for that though.. Windows 2000 Professional doesn't support alot of things I want to get into, so I am moving up to Windows 2000 Server.

Morgoth
03-13-2003, 09:34 PM
I will look into this again after I get that installed, unless you know how I might be able to do it in windows 2000 professional so that I know how and don't need to ask later.