Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > IE6 loose cookies when return to .aspx from .asp web page (works in firefox)

Thread Tools

IE6 loose cookies when return to .aspx from .asp web page (works in firefox)

Posts: n/a
I'm loosing cookies in IE6 (works okay with firefox) with the following

step 1. set a cookie in one domain, in an .aspx.cs codebehind...
HttpContext.Current.Response.Cookies.domain = "";

step 2. Form post (using javascript submit) to an asp page in another

step 3. From, post form values back

step 4. Try to access cookie from step one but cookie is lost/null, so
following line causes 'object reference not found error'.

string string1 =

I already checked to make sure all urls are http, not https. Also,
have IE6 privacy setting to allow session cookies and security setting
for testsite is low.

Does anybody know why this works in firefox, but not IE6?

Also, works in IE if running project locally...
form post from localhost/subdomain1/page1.aspx to, then formpost back to


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
ASP.NET Webparts application + Publish site = loose page content ASP .Net 1 06-16-2006 09:12 PM
i loose my authentication ticket, but i am still able to access other web pages jrodguitar ASP .Net Security 0 03-01-2006 02:02 PM
what value does lack of return or empty "return;" return Greenhorn C Programming 15 03-06-2005 08:19 PM
strange problem on ASPX page--loose the WebUIValidation.js SStory ASP .Net 2 10-16-2003 03:40 PM