PDA

Click to See Complete Forum and Search --> : session end log info


mahivr
Nov 30th, 2004, 05:12 AM
hai,

in my project i want to maintain logs for each page.so i created my own function to store the login info in DB.now i want to store the login data when the user opens the site and after closing the session.(ie.Session Begins and ends)

NB: I want to store a data in DB when the user closes the browser.

how can i use this using global.asax? can any send me the coding.


v.r.mahendran

mateen
Nov 30th, 2004, 01:03 PM
One cannot determine the closing of a users session when the browser is closed using the X button. You can put your code in session_End Event to save the changes/user logg off information in the DB.