Post server side form to different application

Discussion in 'ASP .Net' started by Sudheer Aalla, Oct 5, 2005.

  1. Hi,

    I want to pass one hidden value to another application running in different
    server. I don't want to pass this in query string because it is sensitive
    info. I tried post method but it is not working for server side forms.Any
    ideas how can I pass the value between applications??

    Thanks,
    SA
    Sudheer Aalla, Oct 5, 2005
    #1
    1. Advertising

  2. Here are some options:
    1) Output an old fashioned non-server form to the client (without the runat=
    'server' attribute) Set the action attribute like you would have in
    ASP.OLD, and use javascript to submit the form.
    2) use client side script to change your ASP.NET form action attribute
    3) use this webform control: http://www.wilsondotnet.com/Controls/
    4) use the WebRequest object:
    http://msdn.microsoft.com/library/d...f/html/frlrfsystemnetwebrequestclasstopic.asp

    Note: In ASP.NET 2.0 you will be able to more easily post to another page.

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net


    "Sudheer Aalla" <> wrote in message
    news:%...
    > Hi,
    >
    > I want to pass one hidden value to another application running in
    > different server. I don't want to pass this in query string because it is
    > sensitive info. I tried post method but it is not working for server side
    > forms.Any ideas how can I pass the value between applications??
    >
    > Thanks,
    > SA
    >
    Steve C. Orr [MVP, MCSD], Oct 5, 2005
    #2
    1. Advertising

  3. Sudheer Aalla

    Rob Schieber Guest

    Sudheer Aalla wrote:
    > Hi,
    >
    > I want to pass one hidden value to another application running in different
    > server. I don't want to pass this in query string because it is sensitive
    > info. I tried post method but it is not working for server side forms.Any
    > ideas how can I pass the value between applications??
    >
    > Thanks,
    > SA
    >
    >

    Sudheer,

    If your data is sensitive, using a form post is not going to be any more
    secure than a query string. I would suggest encrypting the data or
    using SSL.

    Having said that, take a look at this thread using the WebRequestClass:

    http://groups.google.com/group/micr....Net.WebRequest&rnum=5&hl=en#1bd72e8967f08fa0

    --
    Rob Schieber
    Rob Schieber, Oct 6, 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. Rick Spiewak
    Replies:
    1
    Views:
    416
    Rick Spiewak
    Jul 22, 2003
  2. Gert
    Replies:
    8
    Views:
    9,915
    Patrick.O.Ige
    Nov 5, 2005
  3. BarryX

    Simulate Form Post on Server Side

    BarryX, Sep 26, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    512
    Patrice
    Sep 26, 2007
  4. ERobishaw
    Replies:
    1
    Views:
    801
    Anthony Jones
    Mar 22, 2008
  5. BarryX

    Simulate form post from Server Side

    BarryX, Sep 26, 2007, in forum: ASP General
    Replies:
    9
    Views:
    386
    Anthony Jones
    Oct 2, 2007
Loading...

Share This Page