another easy question , help me?

Results 1 to 4 of 4

Thread: another easy question , help me?

  1. #1
    Raquel Anne Guest

    Default another easy question , help me?

    I want an asp page to input information to a database on the folowing conditions:<BR>if a person closes the window<BR>if a person gets logged off<BR>if for any reason the connection is terminated.<BR><BR>example:<BR>1. you look at my page which has a timer, you loose power, then the timer information gets written to the database.<BR><BR>2. you look at my page which has a timer, you close the browser, then the timer information gets written to the database.<BR><BR>3. you look at my page which has a timer, you loose connection, then the timer information gets written to the database.<BR><BR>can you help me with this please?<BR>thanks in advance!<BR>Raquel Anne<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    30

    Default RE: another easy question , help me?

    you could use the session object for this. when the window closes it will end his session or U can use some activex controls or java which monitors the network status and if it drops you can take neccessary actions at the server side.

  3. #3
    Raquel Anne Guest

    Default RE: another easy question , help me?

    sounds like what I need, how do I go about doing this, I am kinda new and need all the help I can get......Please help?<BR>Thanks<BR>Raquel Anne

  4. #4
    Simhan Guest

    Default RE: another easy question , help me?

    Use the file Global.asa. You&#039ll find a subroutine Session_OnEnd.<BR>This procedure (event) fires when the user session ends. Write you coding there! Remember!. This file cannot contain printable statements neither does it allow the &#060;% delimiters.<BR><BR>Bye


Posting Permissions

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