Saturday, March 31, 2012

web.config fires application_start

Hi.
I noticed that when I change the timeout of the session
in web.config, the event application_start in global.asax
is raise, although I make no compilation.
is it normal?
is there a way to change the session timeout without
firing the application_start event>
thanks
Barakanytime the web.config is altered it restarts the application.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com

"barak" <barakb@.programmer.net> wrote in message
news:009701c3cfc1$217465e0$a301280a@.phx.gbl...
> Hi.
> I noticed that when I change the timeout of the session
> in web.config, the event application_start in global.asax
> is raise, although I make no compilation.
> is it normal?
> is there a way to change the session timeout without
> firing the application_start event>
> thanks
> Barak
barak wrote:
> Hi.
> I noticed that when I change the timeout of the session
> in web.config, the event application_start in global.asax
> is raise, although I make no compilation.
> is it normal?
> is there a way to change the session timeout without
> firing the application_start event
Yes, from code:
Session.TimeOut=Whatever

--

Jos Branders

0 comments:

Post a Comment