Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JohnPerth

macrumors newbie
Original poster
Aug 13, 2007
2
0
Hi, I am hoping that someone here can help me.

I have developed a site in ASP. It works fine on my Windows PC on IE and Firefox but on Safari on an Apple I can't log in.

When I view the cookies on Safari, the other cookies are names ".mysite.com"
but the cookie for the site I developed has the "www" in front of the cookie name. ie "www.mysite.com" .

Has anyone run into this problem before or know how to fix it?

Thanks,

John.
 
More details

All I do is call

Response.Cookies("brand_UserId")("guid") = sGUID
Response.Cookies("brand_UserId")("expires") = CDbl(DateAdd("n", Session_iMinsDuration, Now))
Response.Cookies("brand_UserId").Expires = Now + 2

Where sGUID is a unique identifier from the DB.

I don't know what other details are relevant.

It works on my Windows system in IE and FireFox. It works on the Mac in IE but it doesn't work on Safari, it just stays on the login page.

Like I said above, if you go to
Safari/Preferences/Security/Show Cookies
the cookies name is www.mysite.com.au where as all the other cookies are named .anothersite.com . So I am thinking that it isn't working because Safari is adding the www infront of the cookie name giving www.www.mysite.com.au .

Is there a better place than this where I could ask this question?

Any help is greatly appreciated.

Thanks,

John.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.