get information from the Request

Discussion in 'ASP .Net' started by francois, Feb 27, 2004.

  1. francois

    francois Guest

    Hi everyone,

    When I do some postback I need to discover some information like what aspx
    form or even the relative url to the project that the postback is orginated
    from.

    For exemple if I have

    projectRoot/folder1/folder2/page.aspx

    when i do the postback from that page, i want to get something like
    "projectRoot/folder1/folder2/page.aspx" or at least "page.aspx", I believe I
    may get that from the Request object?

    Is there anyone that can help me on this topic?

    Best regards,

    Francois
    francois, Feb 27, 2004
    #1
    1. Advertising

  2. All this information is available to you in the Response object. Have a look
    at the methods it exposes. I am sure you will find what you are looking for.

    --
    Regards,
    Alvin Bruney [ASP.NET MVP]
    Got tidbits? Get it here...
    http://tinyurl.com/3he3b
    "francois" <_NOSPAM> wrote in message
    news:OnnN081$...
    > Hi everyone,
    >
    > When I do some postback I need to discover some information like what aspx
    > form or even the relative url to the project that the postback is

    orginated
    > from.
    >
    > For exemple if I have
    >
    > projectRoot/folder1/folder2/page.aspx
    >
    > when i do the postback from that page, i want to get something like
    > "projectRoot/folder1/folder2/page.aspx" or at least "page.aspx", I believe

    I
    > may get that from the Request object?
    >
    > Is there anyone that can help me on this topic?
    >
    > Best regards,
    >
    > Francois
    >
    >
    Alvin Bruney [MVP], Mar 1, 2004
    #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. Brian Birtle
    Replies:
    2
    Views:
    1,993
    John Saunders
    Oct 16, 2003
  2. francois

    get information from the request

    francois, Mar 1, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    300
    Krishnan
    Mar 1, 2004
  3. z. f.
    Replies:
    0
    Views:
    670
    z. f.
    Feb 3, 2005
  4. subrato
    Replies:
    8
    Views:
    908
    Juan T. Llibre
    Mar 14, 2006
  5. clercmedia
    Replies:
    2
    Views:
    32,249
    clercmedia
    Dec 9, 2005
Loading...

Share This Page