homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Cookie gets deleted in IE!
Cookie gets deleted on a different page.

5+ Year Member

Msg#: 12064 posted 7:53 pm on Apr 9, 2006 (gmt 0)

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?




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

Msg#: 12064 posted 4:38 am on Apr 13, 2006 (gmt 0)

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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved