How do i implement logging off?

Results 1 to 2 of 2

Thread: How do i implement logging off?

  1. #1
    Yog Guest

    Default How do i implement logging off?

    In simple words i want to implement signing off from the site.<BR><BR>When i start the site i take the name of the database (since i have multiple databases with multiple users) in a session variable. I have implemented a simple log off wherein when he says log off the session is abandoned and he is disconnected from the database. What i want to implement is when he says log off he should actually be logged of and even when he goes back using the back button of the browser he should not be able to see anything that was there on the page before he logged off. How do i implement this?

  2. #2
    Join Date
    Dec 1969

    Default RE: How do i implement logging off?

    You&#039ll need to set a session timeout when you set the session, and on each subsequent page verify the session still exists (has not timed out yet) ... and if the session has timed out (closed the browser, exceeded timeout max), redirect the user to the logon page.<BR><BR>Hope that helps. Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts