Forum Moderators: open

Message Too Old, No Replies

Generate and POST a form within an ASP function

Create and submit a form with no user interaction

         

nitsuj3001

7:26 am on Sep 25, 2005 (gmt 0)



What I am trying to do is create and submit a form from within as ASP function. What I mean is that the user should be unaware that a form has been generated or where it has been posted to.
So a user will enter there details, this data is then posted to another site, and depending on the result they would get an error or be logged in.

Is this possible with asp? I have searched the forums (maybe with the wrong terms?) but couldn’t find anything.

Thanks in advance for any help/ ideas.

aspdaddy

7:31 am on Sep 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Check out SOAP (Server side) or Javascript (client side) for this.

nitsuj3001

8:30 am on Sep 25, 2005 (gmt 0)



Hi aspdaddy,
If those are the only 2 options, then I think I need to learn about SOAP, as I don’t think doing any of this on the client side is a good idea. This issue is I need to send my user name and pass too. And I don’t want that being seen by the user.

What I failed to say was that in information will be sent as an XML document. So I’ll have an XML doc along the lines of:
My User id
My pass
User data

I have found an example and changed it around a little:

If I use SOAP to send an xml doc, do you happen to know what the other server gets; Al it should get is the XML doc – is this possible?

Thanks loads for your help

aspdaddy

1:11 pm on Sep 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I dont really see why you need to conceal anything from the user and try to submit the form for them using code.


So a user will enter there details, this data is then posted to another site, and depending on the result they would get an error or be logged in.

This is all achievable with a standard form and a submit button.

nitsuj3001

1:54 pm on Sep 25, 2005 (gmt 0)



I need to hide the data from the user, other wise they will see my admin ID and my admin password.