Saturday, March 31, 2012

Session Timeout?

Hello,

is there any possibility to do something when the
session timeouts via code not via the global.asax?

ThanksWhat do you mean, the global.asax is code.

"Vishal" <anonymous@.discussions.microsoft.com> wrote in message
news:0bba01c4f996$cb277d70$a401280a@.phx.gbl...
> Hello,
> is there any possibility to do something when the
> session timeouts via code not via the global.asax?
> Thanks
No.

You can only execute code,
when Session_OnEnd fires, via global.asax

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <anonymous@.discussions.microsoft.com> wrote in message
news:0bba01c4f996$cb277d70$a401280a@.phx.gbl...
> Hello,
> is there any possibility to do something when the
> session timeouts via code not via the global.asax?
> Thanks
The Global.asax can only run, when I make the folder an
IIS application right? Is it possible to run the
Global.asax without making the folder an IIS application?

Thanks so far.

>--Original Message--
>No.
>You can only execute code,
>when Session_OnEnd fires, via global.asax
>
>Juan T. Llibre
>ASP.NET MVP
>===========
>"Vishal" <anonymous@.discussions.microsoft.com> wrote in
message
>news:0bba01c4f996$cb277d70$a401280a@.phx.gbl...
>> Hello,
>>
>> is there any possibility to do something when the
>> session timeouts via code not via the global.asax?
>>
>> Thanks
>
>.
Again, no.

Global.asax will not execute unless the folder
is at least a virtual directory, or an application.

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <anonymous@.discussions.microsoft.com> wrote in message
news:090601c4f9a5$b5b71090$a301280a@.phx.gbl...
> The Global.asax can only run, when I make the folder an
> IIS application right? Is it possible to run the
> Global.asax without making the folder an IIS application?
> Thanks so far.
>>--Original Message--
>>No.
>>
>>You can only execute code,
>>when Session_OnEnd fires, via global.asax
>>
>>
>>
>>Juan T. Llibre
>>ASP.NET MVP
>>===========
>>"Vishal" <anonymous@.discussions.microsoft.com> wrote in
> message
>>news:0bba01c4f996$cb277d70$a401280a@.phx.gbl...
>>> Hello,
>>>
>>> is there any possibility to do something when the
>>> session timeouts via code not via the global.asax?
>>>
>>> Thanks
>>
>>
>>.
>

0 comments:

Post a Comment