killed sessions

C

Chris D

I've asp.net sites that regularly get updated with new templates, css changes
etc. I understand that changes to the build (dll) & pool recycles will kill
sessions but

1. do updates to the aspx templates, css files & web.config kill user
sessions?
2. do updates to these require iis stop/start/reset to avoid the server from
dishing up cached pages?

Thanks!!
 
S

S. Justin Gengo

Chris,

Assuming your application is not pre-compiled (otherwise you wouldn't be
able to update an aspx page) updated to the aspx pages and css files will
not kill sessions. Updates to the web.config file do reset the application
pool and will indeed kill the sessions.

If you need to have sessions continue within your application even when the
application is updated you may do a few different things:

Don't use sessions (probably not an option)

Store sessions on a session state server:
http://msdn.microsoft.com/en-us/library/h6bb9cz9(VS.71).aspx


Or move sessions to a SQL Server:
http://idunno.org/articles/277.aspx


--


Sincerely,

S. Justin Gengo, MCP

Free code library at:
http://www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top