c# - ASP Page naming and Redirection -
i have quite odd scenario have not run before.
i have hyper link, url hard coded www.mywebsite.com/storeloc.aspx
my application has 2 pages concerned about.
- store.aspx
- storeloc.aspx
even though hyperlink hardcoded go storeloc.aspx, sometimes ( once out of tenish ) hyperlink direct store.aspx instead.
i not first person work on application, aspx files may have been renamed. cause issue?
thank time.
you might have in onsesssionstart function of global.asax file response.redirect store.aspx.
you session might getting killed after x minutes of inactivity. cause session started again , redirected start page.
you may want search respose.redirect or server.transfer in visual studio solution.
hope helps.
Comments
Post a Comment