Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP - does not create cookies

Status
Not open for further replies.

lilboi

Programmer
Dec 22, 2003
146
CA
Hi guys!

I got a very weird problem... I've created a login page that creates a cookie to keep track of ur login. Anyways, it used to work and now when I tried it, I can see that it's not creating any cookies for me anymore.

I tried it on a different computer and it works there.

So i thought, maybe my browser's not allowing me to create cookies. I then kept the cookies directory open and logged in on other forums and found that there's cookies being created without any problem. So what's stopping my page from creating cookies?

Code:
Response.cookies("ev.com")("rid") = rid
Response.cookies("ev.com")("opName") = opName
Response.cookies("ev.com").expires = Date() + 1

thanks guys!
 
More information, it worked on the Mozilla browser on the other computer. But when we used Internet Explorer for that same computer it will not create the cookies.

I use Internet Explorer and everything's in default settings...how is it that mozilla allows the cookies to be created and internet explorer won't allow it?
 
Hey guys! I've tried it out. We lowered the security level from the default "Medium" down to "Low" on internet explorer and that's when it allowed my site to create a cookie.

My question is....what sets my cookies apart from the other cookies that was created when it was in Medium settings? How can I change my cookie's settings?

Also, i'm running the website off my own webserver.
 
IE will always accept cookies from localhost.

Go to
Tools/InternetOptions/Privacy/Advanced. Note that the message says "choose how cookies are handled IN THE INTERNET ZONE".

so you can set the appropriate settings...

-DNG
 
thanks to the both of you for pointing me to the right direction.

It's got to do with P3P. I'm going to try to set it up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top