Unload - can you tell what the page is your about to go to?

Discussion in 'ASP .Net' started by UJ, Aug 10, 2005.

  1. UJ

    UJ Guest

    When you are unloading a page, is there anyway to tell what the next page is
    going to be that you load?

    TIA.
     
    UJ, Aug 10, 2005
    #1
    1. Advertising

  2. UJ

    Curt_C [MVP] Guest

    Curt_C [MVP], Aug 10, 2005
    #2
    1. Advertising

  3. UJ

    Oliver Wong Guest

    "UJ" <> wrote in message
    news:...
    > When you are unloading a page, is there anyway to tell what the next page
    > is going to be that you load?


    I don't think there's a guaranteed way in the sense that while the "page
    unload" code is running, the user might click stop, and then manually enter
    in a new address and just go to some other page.

    However, you could probably insert code in all your postback events to
    put the intended target location in a session object or something similar.

    - Oliver
     
    Oliver Wong, Aug 10, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Miguel Dias Moura
    Replies:
    2
    Views:
    357
    Martin
    Jun 22, 2004
  2. Mariella Bakker
    Replies:
    1
    Views:
    5,245
    John Timney \( MVP \)
    May 8, 2006
  3. yogesh
    Replies:
    1
    Views:
    388
    Victor Bazarov
    Mar 14, 2007
  4. JPastor
    Replies:
    1
    Views:
    394
  5. lander
    Replies:
    5
    Views:
    2,584
    Mark Rae [MVP]
    Mar 3, 2008
Loading...

Share This Page