c# - Site not working correctly when browser history cleared -


i have old asp.net intranet application forms login page demonstrating unusual behavior. if version of ie has cleared history (history, not cookies) when submit log in page executes blank post , remains on login page.

if refresh page or had been redirected login page trying directly access page logged in without trouble.

i have published additional copies of application same iis server , did not exhibit behavior after number of hours began acting same way. republishing same instance not "fix" issue publishing new site , neither removing old application , publishing same name.

i'm not sure go here appreciated.

to me these key observations have made:

  1. this effects our production server. same code published 2 other servers not exhibit defect. code has worked years until recently.
  2. i replaced button click code response.redirect google. when button not behaving correctly redirect not being fired. indicates me button code not being executed. after page reloaded/refreshed redirects since button code firing.
  3. when same code published iis server under different name not exhibit defect number of hours. happen after few hours cause behavioral change? republishing same iis site not fix issue few hours publishing new iis site does.

i have removed button code posting because in opinion red herring code doesn't appear being executed @ all.

this cookies looked in network tools when site working enter image description here

the difference here when site working when not working form1 key marked sent , not received.

something new have noticed when site not working favicon shows (aborted). believe request being aborted because have overriden page's oninit , code entered not being executed when site not working.

today work opened ticket microsoft problem resolved , have said "head scratcher."

i disagree nick's thought there problem in code because of assertion:

this effects our production server. same code published 2 other servers not exhibit defect. code has worked years until recently.

this suggests there difference between servers, way configured or code deployed stopping working. forms authentication problem, reminded of bug screwed forms authentication in ie10 - see ie10 user-agent causes asp.net not send set-cookie (ie10 not setting cookies)

are servers identical? running same os, .net versions, patches, hotfixes etc?


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -