Results 1 to 3 of 3

Thread: [2005] Event closing page

  1. #1

    Thread Starter
    Hyperactive Member anna7's Avatar
    Join Date
    Sep 2005
    Location
    Catalonia
    Posts
    481

    Question [2005] Event closing page

    Hi,

    How can I control when the page is closing? Because I need to delete x temporal data.

    regards

  2. #2
    Frenzied Member axion_sa's Avatar
    Join Date
    Jan 2002
    Location
    Joburg, RSA
    Posts
    1,724

    Re: [2005] Event closing page

    There's the HTML onUnload event (if memory serves), but it's not guaranteed to work - for example, should the person terminate the browser process, or if the user navigates away via "normal" means.

    I'd suggest using a background service of some sorts to do the clean up on a regular, timed basis.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Event closing page

    There's no need to post the same question multiple times.

    Application_EndRequest. Or just do it in the page's code.

Posting Permissions

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



Click Here to Expand Forum to Full Width