Click here to Skip to main content
15,899,313 members

Comments by dush71816 (Top 3 by date)

dush71816 2-Sep-11 14:15pm View    
For Solution 2:Useless code, didn't explain properly, what writer is trying to convey he himself doesn't know Should have explained the complete procedure or provided complete code.How would a newbie know that what he wants to do with the properties or what is the use of properties declared.What to get in property and what to set. Again useless scrap
dush71816 2-Sep-11 14:13pm View    
Deleted
For Solution 2:Useless code, didn't explained properly, what writer is trying to convey he himself doesn't know
Should have explained the complete procedure or provided complete code.How would a newbie know that what he wants to do with the properties or what is the use of properties declared.What to get in property and what to set. Again useless scrap
dush71816 21-Jul-11 13:56pm View    
I am doing the same in page_unload event and it fires everytime when page postback i.e. on click of button etc but let me present the scenario
User is using the application since 1 hour and using buttons enabling page_Unload event to run and in that event i am updating the log off time in database but consider that if has not used any button or any item which causes postback for last 15 mins and just crossed the browser. My datatable will contain the logout time of 15 mins before.

I just need if I can update that logout time too when user closes the browser

I also used the timer control which also causes page_Unload event to fire every sec but it makes my application heavier and sql server logs the event in log file which causes my server's drive to be full in two days. The traffic to my application is much i mean around 500 user uses the application hosted on a server so i cant use the timer control for this.