Axiom_Consulting_Developer
asked on
ASP.NET DEVELOPMENT DEBUGGING MODE - Random crash
Developing on an Asp.Net project in visual studio, i am curious why it crashes very often in a line like this:
myPage.RegisterClientScrip tBlock("AJ AX_GRID_UP LOAD", "<script src='" + System.Web.HttpContext.Cur rent.Sessi on[Session Constants. APPLICATIO N_ROOT].To String() + "CustomControls/AjaxUpdate PanelGrid. js'></scri pt>");
It has something to do with session expiration. For example, often when i make changes to code in aspx and hit refresh page while in debugging mode, i see my application crashing to that line of code. I would like to avoid it if possible.
Thanks
myPage.RegisterClientScrip
It has something to do with session expiration. For example, often when i make changes to code in aspx and hit refresh page while in debugging mode, i see my application crashing to that line of code. I would like to avoid it if possible.
Thanks
ASKER
The session does expire. But shouldn't as my settings for the sessionstate in application and IIS are set too high. Why would modifying an aspx code and refreshing the browser page cause it to reset the session ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's worth pointing out that sessions expire in production as well as in development.