Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Cookie gets deleted in IE!

Cookie gets deleted on a different page.



7:53 pm on Apr 9, 2006 (gmt 0)

5+ Year Member

I have a site in .NET . I am writing a cookie that expires in 2011, on the product page. This cookie enables a user to add the product to "My Favorite Products".

However, when I go to the default page or Category page, and refresh the page , the cookie gets deleted.
If I dont go the default or category page, the cookie remains there. Even if I close the browser and return directly to the product page, the cookie is there. However once I go to those 2 pages, the cookie is gone!

I do not have any code that removes the cookie, on both the pages.

Please note, this doesnt happen in Firefox. Only in IE. Also, this doesnt happen in my localhost. Only happens on my production site.

I doing URL rewriting on the Global.asax.vb page. I am using Context.ReWrite for the same.

Does anyone have any clue on whats going on?



4:38 am on Apr 13, 2006 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

On the surface, what you relate sounds like an impossibility. Have you 100% verified each of these facts? That's where I would start. If it all checks out through a second verification, then maybe someone in our .NET Forum [webmasterworld.com] would have some relevant experience.

Featured Threads

Hot Threads This Week

Hot Threads This Month