Hi guys.
I have an idea about what a global.asax file is and what events can be used in that file.Can anyone please explain where it can be actually used b'cos i am unable to understand the practical use of that file and where the events in the file can be used.
Thanks
Loading


Amit ChoudharyRank #145 · 15.8K reputationPosted Apr 29, 2010, 9:12 PM EDT
Follow the article on Global.asax explained and you'll have a very good idea of how to use its events.
Please mark "Do you like this post" if it helps you.
Vipul KelkarRank #1,061 · 1.8K reputationPosted Apr 29, 2010, 9:25 PM EDT
It was a good article.It helped.But also i am not able to understand how can i use session_start and session_end
Amit ChoudharyRank #145 · 15.8K reputationPosted Apr 29, 2010, 9:42 PM EDT
suppose you want to save some value in the particular session a user is working on website....
for example his timezoneoffset to get the client time so you can save it inside the Session_Start event.... and can clear the value in Session_End event.
Similarly you have your own ideas what to perform when session of a user is started... you can even decide the session timeout in Session_Start event.
hope you get clear idea..
Please mark " Do you like this post" if it helps you.
Vipul KelkarRank #1,061 · 1.8K reputationPosted Apr 29, 2010, 9:55 PM EDT
Amit ChoudharyRank #145 · 15.8K reputationPosted Apr 30, 2010, 3:21 AM EDT
and Vipul please mark the post for answer if you get some help from it....i gave you my time you should gave me some back by marking my answer. it'll help me to get some points in forum.