|
 |
asp_web_howto thread: Posting a web form from ASP code
Message #1 by Radi Shourbaji <RShourbaji@p...> on Mon, 18 Dec 2000 22:55:53 -0800
|
|
I have a need to integrate two web applications using ASP code in the first
application to post data to a form in the second application. I would
appreciate any help or examples of how to do this.
Thanks!
Radi Shourbaji
Sr. Product Manager
ProactiveNet, Inc.
"Insight so timely, it's proactive."
---------------------
Phone: xxx-xxx-xxxx
Fax: xxx-xxx-xxxx
---------------------
Email: mailto: radi@p...
Web: http://www.proactivenet.com/
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #2 by Gregory_Griffiths@c... on Tue, 19 Dec 2000 08:56:25 +0000
|
|
just send a HTML form back to the client with an automatic submit on it
to pass the data, if you can't get it to post directly to it.
> -----Original Message-----
> From: RShourbaji@p... [mailto:RShourbaji@p...]
> Sent: 19 December 2000 06:56
> To: asp_web_howto@p...
> Cc: RShourbaji@p...
> Subject: [asp_web_howto] Posting a web form from ASP code
> Importance: High
>
>
> I have a need to integrate two web applications using ASP
> code in the first
> application to post data to a form in the second application. I would
> appreciate any help or examples of how to do this.
>
> Thanks!
>
> Radi Shourbaji
> Sr. Product Manager
> ProactiveNet, Inc.
> "Insight so timely, it's proactive."
> ---------------------
> Phone: xxx-xxx-xxxx
> Fax: xxx-xxx-xxxx
> ---------------------
> Email: mailto: radi@p...
> Web: http://www.proactivenet.com/
>
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #3 by "Oleg Perepelkin" <operep@m...> on Tue, 19 Dec 2000 10:22:36 +1000
|
|
I think you can post your form anywhere,
just make sure action in a form contains the valid URL along with asp page
name which will request your posted values.
Like that from the first site form:
<form name=myform
action="http://www.yourwebapplicationtopost.com/asppage.asp" method=post>
' some input field here..
<input type=text name=mytext>
'..
</form>
Then in your second webapp page located at
http://www.yourwebapplicationtopost.com/asppage.asp
you must have this posted value read like that:
''...
Request.form("mytext") ' read the value from first site form
''...
Hope it helps :-)
Oleg
----- Original Message -----
From: Radi Shourbaji <RShourbaji@p...>
To: ASP Web HowTo <asp_web_howto@p...>
Sent: Tuesday, December 19, 2000 4:55 PM
Subject: [asp_web_howto] Posting a web form from ASP code
> I have a need to integrate two web applications using ASP code in the
first
> application to post data to a form in the second application. I would
> appreciate any help or examples of how to do this.
>
> Thanks!
>
> Radi Shourbaji
> Sr. Product Manager
> ProactiveNet, Inc.
> "Insight so timely, it's proactive."
> ---------------------
> Phone: xxx-xxx-xxxx
> Fax: xxx-xxx-xxxx
> ---------------------
> Email: mailto: radi@p...
> Web: http://www.proactivenet.com/
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #4 by "Waseem Hyder" <waseemhyder@h...> on Tue, 19 Dec 2000 08:22:03 -0000
|
|
Please Radi
Tell me first what do you mean two application
if there is only two form so try it
in first form:
<HTML>
<BODY>
<Form Name="FirstForm" Action="SecondForm.asp" Method="POST>
..... your coding
.....
<INPUT Type="SUBMIT" NAME="SaveValues" VALUES="Show Next Form">
</FORM>
</BODY>
</HTML>
in Second Form:
<HTML>
<BODY>
<%Request.Form("InputTextValue1")%>
<%Request.Form("InputTextValue2")%>
The value of First Name in First form is <%Request("FName")%>
....
...
</BODY>
</HTML>
--------------------
Fname or InputTextValue1, 2 all present in First Form
Please try it or Reply me WaseemHyder@h...
Waseem Hyder
_____________________________________________________________
I have a need to integrate two web applications using ASP code in the first
application to post data to a form in the second application. I would
appreciate any help or examples of how to do this.
>Thanks!
>
>Radi Shourbaji
>Sr. Product Manager
>ProactiveNet, Inc.
>"Insight so timely, it's proactive."
>---------------------
>Phone: xxx-xxx-xxxx
>Fax: xxx-xxx-xxxx
>---------------------
>Email: mailto: radi@p...
>Web: http://www.proactivenet.com/
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #5 by Radi Shourbaji <RShourbaji@p...> on Tue, 19 Dec 2000 03:11:08 -0800
|
|
Thanks for the tip... I would appreciate an example of doing an "automatic
submit" as you suggested? Will this enable the 2nd form to be processed
with out the user really having a chance to see it?
Radi
-----Original Message-----
From: Gregory_Griffiths@c...
[mailto:Gregory_Griffiths@c...]
Sent: Tuesday, December 19, 2000 12:56 AM
To: ASP Web HowTo
Subject: [asp_web_howto] RE: Posting a web form from ASP code
just send a HTML form back to the client with an automatic submit on it
to pass the data, if you can't get it to post directly to it.
> -----Original Message-----
> From: RShourbaji@p... [mailto:RShourbaji@p...]
> Sent: 19 December 2000 06:56
> To: asp_web_howto@p...
> Cc: RShourbaji@p...
> Subject: [asp_web_howto] Posting a web form from ASP code
> Importance: High
>
>
> I have a need to integrate two web applications using ASP
> code in the first
> application to post data to a form in the second application. I would
> appreciate any help or examples of how to do this.
>
> Thanks!
>
> Radi Shourbaji
> Sr. Product Manager
> ProactiveNet, Inc.
> "Insight so timely, it's proactive."
> ---------------------
> Phone: xxx-xxx-xxxx
> Fax: xxx-xxx-xxxx
> ---------------------
> Email: mailto: radi@p...
> Web: http://www.proactivenet.com/
>
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #6 by Radi Shourbaji <RShourbaji@p...> on Tue, 19 Dec 2000 03:12:47 -0800
|
|
Thanks Oleg... But how can I make the second form automatically submit /
post without the user being involved? We want this to be as transparent to
the user that filled out form 1, so they aren't aware of form2 being
involved.
Thanks again!
Radi
-----Original Message-----
From: Oleg Perepelkin [mailto:operep@m...]
Sent: Monday, December 18, 2000 4:23 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Posting a web form from ASP code
I think you can post your form anywhere,
just make sure action in a form contains the valid URL along with asp page
name which will request your posted values.
Like that from the first site form:
<form name=myform
action="http://www.yourwebapplicationtopost.com/asppage.asp" method=post>
' some input field here..
<input type=text name=mytext>
'..
</form>
Then in your second webapp page located at
http://www.yourwebapplicationtopost.com/asppage.asp
you must have this posted value read like that:
''...
Request.form("mytext") ' read the value from first site form
''...
Hope it helps :-)
Oleg
----- Original Message -----
From: Radi Shourbaji <RShourbaji@p...>
To: ASP Web HowTo <asp_web_howto@p...>
Sent: Tuesday, December 19, 2000 4:55 PM
Subject: [asp_web_howto] Posting a web form from ASP code
> I have a need to integrate two web applications using ASP code in the
first
> application to post data to a form in the second application. I would
> appreciate any help or examples of how to do this.
>
> Thanks!
>
> Radi Shourbaji
> Sr. Product Manager
> ProactiveNet, Inc.
> "Insight so timely, it's proactive."
> ---------------------
> Phone: xxx-xxx-xxxx
> Fax: xxx-xxx-xxxx
> ---------------------
> Email: mailto: radi@p...
> Web: http://www.proactivenet.com/
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #7 by Gregory_Griffiths@c... on Tue, 19 Dec 2000 11:39:01 +0000
|
|
try returning something like :
<form name="myform" action="\cgi-bin\formmail.pl" method="post">
FORM STUFF HERE
</form>
...
<script language="javascript">
document.myform.submit();
</script>
> -----Original Message-----
> From: RShourbaji@p... [mailto:RShourbaji@p...]
> Sent: 19 December 2000 11:13
> To: asp_web_howto@p...
> Cc: RShourbaji@p...
> Subject: [asp_web_howto] Re: Posting a web form from ASP code
>
>
> Thanks Oleg... But how can I make the second form
> automatically submit /
> post without the user being involved? We want this to be as
> transparent to
> the user that filled out form 1, so they aren't aware of form2 being
> involved.
>
> Thanks again!
>
> Radi
>
> -----Original Message-----
> From: Oleg Perepelkin [mailto:operep@m...]
> Sent: Monday, December 18, 2000 4:23 PM
> To: ASP Web HowTo
> Subject: [asp_web_howto] Re: Posting a web form from ASP code
>
>
> I think you can post your form anywhere,
> just make sure action in a form contains the valid URL along
> with asp page
> name which will request your posted values.
> Like that from the first site form:
>
> <form name=myform
> action="http://www.yourwebapplicationtopost.com/asppage.asp"
> method=post>
> ' some input field here..
> <input type=text name=mytext>
> '..
> </form>
>
> Then in your second webapp page located at
> http://www.yourwebapplicationtopost.com/asppage.asp
> you must have this posted value read like that:
> ''...
> Request.form("mytext") ' read the value from first site form
> ''...
>
> Hope it helps :-)
> Oleg
>
> ----- Original Message -----
> From: Radi Shourbaji <RShourbaji@p...>
> To: ASP Web HowTo <asp_web_howto@p...>
> Sent: Tuesday, December 19, 2000 4:55 PM
> Subject: [asp_web_howto] Posting a web form from ASP code
>
>
> > I have a need to integrate two web applications using ASP
> code in the
> first
> > application to post data to a form in the second
> application. I would
> > appreciate any help or examples of how to do this.
> >
> > Thanks!
> >
> > Radi Shourbaji
> > Sr. Product Manager
> > ProactiveNet, Inc.
> > "Insight so timely, it's proactive."
> > ---------------------
> > Phone: xxx-xxx-xxxx
> > Fax: xxx-xxx-xxxx
> > ---------------------
> > Email: mailto: radi@p...
> > Web: http://www.proactivenet.com/
> >
>
>
>
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
Message #8 by "Wally Burfine" <oopconsultant@h...> on Fri, 22 Dec 2000 15:51:03 -0000
|
|
Hi,
You should do a response.redirect("url")
---
MaximumASP offers enhanced hosting solutions on the Windows 2000 platform. Dedicated processor, RAM, and server resources provide
dedicated server performance at virtual server prices. Commercial components provided; custom components allowed.
---
You are currently subscribed to asp_web_howto as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-asp_web_howto-$subst('Recip.MemberIDChar')@p2p.wrox.com
|
|
 |