Click here to Skip to main content
15,922,894 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: using multi threading in web services Pin
VishalSharmaDev24-Jan-07 7:14
VishalSharmaDev24-Jan-07 7:14 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:03
Ashish Porwal15-Jan-07 5:03 
Questionpaging in grid view control Pin
dalbhide bipin15-Jan-07 4:57
dalbhide bipin15-Jan-07 4:57 
AnswerRe: paging in grid view control Pin
Rahithi15-Jan-07 15:52
Rahithi15-Jan-07 15:52 
AnswerRe: paging in grid view control Pin
varshavmane15-Jan-07 17:15
varshavmane15-Jan-07 17:15 
GeneralRe: paging in grid view control Pin
dalbhide bipin15-Jan-07 21:58
dalbhide bipin15-Jan-07 21:58 
QuestionClosing of an ASP.net project... Pin
samerh15-Jan-07 3:34
samerh15-Jan-07 3:34 
AnswerRe: Closing of an ASP.net project... Pin
Colin Angus Mackay15-Jan-07 4:06
Colin Angus Mackay15-Jan-07 4:06 
samerh wrote:
I tried to put some code in Application_End, but it is not executing the code when users close the application usinf ALTF4 or x-button.


ApplicationEnd runs after all Sessions have ended. An ASP.NET application runs for multiple users remember.

Use SessionEnd instead, however, it won't run immediately because it will take some time for the server to time out the session. That timeout is set in the web.config.

You cannot automatically detect when a user closes the browser so you are going to have to work around that limitation. Remember that an ASP.NET application is stateless. Things like viewstate and Session variables give the illusion of state only.


AnswerRe: Closing of an ASP.net project... Pin
Mark J. Miller15-Jan-07 4:09
Mark J. Miller15-Jan-07 4:09 
QuestionMemory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 3:15
Grapes-R-Fun15-Jan-07 3:15 
AnswerRe: Memory leak in ASP.Net at each post back Pin
Pete O'Hanlon15-Jan-07 3:34
mvePete O'Hanlon15-Jan-07 3:34 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 3:43
Grapes-R-Fun15-Jan-07 3:43 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Pete O'Hanlon15-Jan-07 4:07
mvePete O'Hanlon15-Jan-07 4:07 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Not Active15-Jan-07 7:12
mentorNot Active15-Jan-07 7:12 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 8:27
Grapes-R-Fun15-Jan-07 8:27 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Not Active15-Jan-07 8:42
mentorNot Active15-Jan-07 8:42 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 8:48
Grapes-R-Fun15-Jan-07 8:48 
AnswerRe: Memory leak in ASP.Net at each post back Pin
dalbhide bipin15-Jan-07 3:43
dalbhide bipin15-Jan-07 3:43 
Questiongrid view control problem Pin
dalbhide bipin15-Jan-07 2:58
dalbhide bipin15-Jan-07 2:58 
AnswerRe: grid view control problem Pin
Grapes-R-Fun15-Jan-07 3:08
Grapes-R-Fun15-Jan-07 3:08 
GeneralRe: grid view control problem Pin
Grapes-R-Fun15-Jan-07 3:35
Grapes-R-Fun15-Jan-07 3:35 
QuestionGoogle API's Pin
Khan.Bangash15-Jan-07 2:51
Khan.Bangash15-Jan-07 2:51 
AnswerRe: Google API's Pin
Grapes-R-Fun15-Jan-07 3:11
Grapes-R-Fun15-Jan-07 3:11 
GeneralRe: Google API's Pin
Khan.Bangash15-Jan-07 3:28
Khan.Bangash15-Jan-07 3:28 
GeneralRe: Google API's Pin
Colin Angus Mackay15-Jan-07 3:52
Colin Angus Mackay15-Jan-07 3:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.