Click here to Skip to main content
15,884,986 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Hiding WebForm in ASP.NET Pin
N a v a n e e t h29-Jan-09 17:42
N a v a n e e t h29-Jan-09 17:42 
QuestionHow to make a post to page with href url Pin
papy-boom29-Jan-09 13:22
papy-boom29-Jan-09 13:22 
AnswerRe: How to make a post to page with href url Pin
Tad McClellan29-Jan-09 17:12
professionalTad McClellan29-Jan-09 17:12 
QuestionApplication_End () problem Pin
sana1729-Jan-09 9:53
sana1729-Jan-09 9:53 
AnswerRe: Application_End () problem Pin
Steven James Gray29-Jan-09 10:37
Steven James Gray29-Jan-09 10:37 
AnswerRe: Application_End () problem Pin
Tad McClellan29-Jan-09 11:01
professionalTad McClellan29-Jan-09 11:01 
GeneralRe: Application_End () problem Pin
sana1729-Jan-09 11:12
sana1729-Jan-09 11:12 
AnswerRe: Application_End () problem Pin
N a v a n e e t h29-Jan-09 15:01
N a v a n e e t h29-Jan-09 15:01 
This is asked frequently. No events are fired on the server when user closes the browser window. You can follow any of the following suggestions.

1 - Hook a JS method for the browser close event, do AJAX call which delets the record from database. This is less reliable as JS can be turned off from the client.

2 - Keep users last request time in the table. Run a SQL scheduler job which scans this table frequently and if the current time minus last active time is more than the session timeout limit, delete the record. I suggest this method as this is more reliable than the first one.

Does that help?

Smile | :)


Questionchanging property of some other form's control? Pin
Tarun.Suneja29-Jan-09 7:38
Tarun.Suneja29-Jan-09 7:38 
AnswerRe: changing property of some other form's control? Pin
ToddHileHoffer29-Jan-09 7:48
ToddHileHoffer29-Jan-09 7:48 
AnswerRe: changing property of some other form's control? Pin
Tad McClellan29-Jan-09 11:04
professionalTad McClellan29-Jan-09 11:04 
Question[newbie] Validating a date Pin
jon-8029-Jan-09 6:53
professionaljon-8029-Jan-09 6:53 
AnswerRe: [newbie] Validating a date Pin
N a v a n e e t h29-Jan-09 7:26
N a v a n e e t h29-Jan-09 7:26 
AnswerRe: [newbie] Validating a date Pin
ToddHileHoffer29-Jan-09 7:53
ToddHileHoffer29-Jan-09 7:53 
Questionone webform to other Pin
Tarun.Suneja29-Jan-09 6:33
Tarun.Suneja29-Jan-09 6:33 
AnswerRe: one webform to other Pin
Rutvik Dave29-Jan-09 6:45
professionalRutvik Dave29-Jan-09 6:45 
GeneralRe: one webform to other Pin
Tarun.Suneja29-Jan-09 7:35
Tarun.Suneja29-Jan-09 7:35 
AnswerRe: one webform to other Pin
N a v a n e e t h29-Jan-09 6:54
N a v a n e e t h29-Jan-09 6:54 
AnswerRe: one webform to other Pin
Ashutosh Phoujdar29-Jan-09 21:06
Ashutosh Phoujdar29-Jan-09 21:06 
Question[newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8029-Jan-09 6:25
professionaljon-8029-Jan-09 6:25 
AnswerRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
Frauke29-Jan-09 23:35
Frauke29-Jan-09 23:35 
GeneralRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8030-Jan-09 8:38
professionaljon-8030-Jan-09 8:38 
AnswerRe: [newbie] System.Web.UI.WebControls.GridView.SelectedRowStyle - Different color? Pin
jon-8030-Jan-09 0:35
professionaljon-8030-Jan-09 0:35 
QuestionFormView last inserted ID into Access database Pin
Mohammad Al Hoss29-Jan-09 2:53
Mohammad Al Hoss29-Jan-09 2:53 
AnswerRe: FormView last inserted ID into Access database Pin
led mike29-Jan-09 4:24
led mike29-Jan-09 4:24 

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.