View Full Version : Passing values to another site using "POST"
Jim Albright
4-Apr-2005, 11:12 AM
I need to pass values from an .asp generated from the webapp server (a report with one record) to
anther site when the user clicks on a button.
Any ideas?
--
Jim Albright
Novell CNE
President
Wizard Systems, Inc.
NOTE: this message may be digitally signed.
In order to reply to it, you must "accept the certificate:
Click on File/Properties/Security and accept.
http://home.cfl.rr.com/wizardsystems
Anders Öhrt
4-Apr-2005, 12:13 PM
>I need to pass values from an .asp generated from the webapp server (a
>report with one record) to
> anther site when the user clicks on a button.
<form action="http://othersite/url.asp" method="post">
<input type="hidden" name="parameter" value="<%=
oWebobject.Call("get_Value") %>">
<input type="submit" value="Post to othersite">
</form>
Jim Albright
4-Apr-2005, 01:02 PM
I tried using <% = oMyDatafile.DDValue("mydatafile.recnum") %>
and I keep getting a value of 0 (zero).
Jim
"Anders Öhrt" <Anders.Ohrt@capslock.se> wrote in message
news:dsuLEmTOFHA.1284@dacmail.dataaccess.com...
>
>>I need to pass values from an .asp generated from the webapp server (a report with one record) to
>> anther site when the user clicks on a button.
>
> <form action="http://othersite/url.asp" method="post">
> <input type="hidden" name="parameter" value="<%= oWebobject.Call("get_Value") %>">
> <input type="submit" value="Post to othersite">
> </form>
>
>
Anders Öhrt
5-Apr-2005, 02:27 AM
>I tried using <% = oMyDatafile.DDValue("mydatafile.recnum") %>
> and I keep getting a value of 0 (zero).
Then you probably don't have a record loaded. Try calling a debug function
that always returns "1" instead, and check that the posting works.
// Anders
Jim Albright
6-Apr-2005, 03:15 PM
I ended up writing my own functions to do just that.
Jim
"Anders Öhrt" <Anders.Ohrt@capslock.se> wrote in message
news:v$SeVDbOFHA.5696@dacmail.dataaccess.com...
>
>>I tried using <% = oMyDatafile.DDValue("mydatafile.recnum") %>
>> and I keep getting a value of 0 (zero).
>
> Then you probably don't have a record loaded. Try calling a debug function that always returns "1"
> instead, and check that the posting works.
>
> // Anders
>
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.