Message displaying in Global.asax
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, i have written a piece of code in the session end event of global.asax.now i want to display an error msg through that event so what is to be done. Thanx, chitranjan more dash than cash!!!
-
Hi, i have written a piece of code in the session end event of global.asax.now i want to display an error msg through that event so what is to be done. Thanx, chitranjan more dash than cash!!!
You can't display messages from
Global.asax
. You'll have to set some sort of context variable and have a user control on all pages that looks for this. Or, you can create your own handler to look for this property, but that'd be a bit more involved. Michael Flanakin Web Log