By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,694 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

Session Timeout?

P: n/a
Hello,

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

Thanks
Nov 19 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
What do you mean, the global.asax is code.

"Vishal" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hello,

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

Thanks

Nov 19 '05 #2

P: n/a
No.

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

Juan T. Llibre
ASP.NET MVP
===========
"Vishal" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hello,

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

Thanks

Nov 19 '05 #3

P: n/a
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" <an*******@discussions.microsoft.com> wrote in messagenews:0b****************************@phx.gbl...
Hello,

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

Thanks

.

Nov 19 '05 #4

P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@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" <an*******@discussions.microsoft.com> wrote in

message
news:0b****************************@phx.gbl...
Hello,

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

Thanks

.

Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.