How to I know the previous page is clicked to forward the current page?

Discussion in 'ASP .Net' started by ABC, Jan 14, 2006.

  1. ABC

    ABC Guest

    How to I know the previous page is clicked to forward the current page?



    As our web site have many methods to enter the web page, I need to know the
    users clicked which link or which part of page to enter the web page.
     
    ABC, Jan 14, 2006
    #1
    1. Advertising

  2. ABC

    m.posseth Guest

    just send a parameter in the link


    http:\\www.somesite.com\somepage.aspx?link=1&

    now in somepage you can say request.querystring("link")

    and you know on wich link was clicked to come to the page


    regards

    Michel Posseth [MCP]





    "ABC" <> wrote in message
    news:%23g9$...
    > How to I know the previous page is clicked to forward the current page?
    >
    >
    >
    > As our web site have many methods to enter the web page, I need to know
    > the users clicked which link or which part of page to enter the web page.
    >
    >
     
    m.posseth, Jan 14, 2006
    #2
    1. Advertising

  3. Have you thought about checking the referring page value

    Request.UrlReferrer.ToString()

    --
    Regards

    John Timney
    Microsoft MVP

    "ABC" <> wrote in message
    news:%23g9$...
    > How to I know the previous page is clicked to forward the current page?
    >
    >
    >
    > As our web site have many methods to enter the web page, I need to know
    > the users clicked which link or which part of page to enter the web page.
    >
    >
     
    John Timney \( MVP \), Jan 14, 2006
    #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. Wang

    How To Know Previous Page

    Wang, May 6, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    375
  2. ABC
    Replies:
    2
    Views:
    426
    libero familymac news
    Jan 14, 2006
  3. qazmlp
    Replies:
    1
    Views:
    601
    Jonathan Turkanis
    Feb 15, 2004
  4. Replies:
    0
    Views:
    441
  5. Andries

    I know, I know, I don't know

    Andries, Apr 23, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    236
    Gregory Toomey
    Apr 23, 2004
Loading...

Share This Page