is it possible that pressing "previous page"(back) button of web browser by code

Discussion in 'ASP .Net' started by yasin, Apr 20, 2006.

  1. yasin

    yasin Guest

    is it possible that pressing "previous page"(back) button of web browser by
    code ?
     
    yasin, Apr 20, 2006
    #1
    1. Advertising

  2. You can do this in javascript using
    history.go(-1);

    or history.back();

    to do it in .net, you'd need to store a the lastPage a user is on in a
    session, update it in the unload event, and use that in a
    response.redirect..

    Karl
    --
    http://www.openmymind.net/



    "yasin" <> wrote in message
    news:...
    > is it possible that pressing "previous page"(back) button of web browser
    > by code ?
    >
    >
    >
    >
     
    Karl Seguin [MVP], Apr 20, 2006
    #2
    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. Victor Sayas
    Replies:
    3
    Views:
    484
    Victor Sayas
    Feb 10, 2005
  2. Victor Sayas

    Handling the pressing of the Back button in the toolbar

    Victor Sayas, Feb 4, 2005, in forum: ASP .Net Security
    Replies:
    3
    Views:
    181
    Victor Sayas
    Feb 10, 2005
  3. ScottyinLA
    Replies:
    0
    Views:
    291
    ScottyinLA
    Apr 8, 2006
  4. Joris Gillis
    Replies:
    0
    Views:
    201
    Joris Gillis
    Apr 18, 2005
  5. Ed
    Replies:
    1
    Views:
    104
Loading...

Share This Page