Date: Tue, 14 May 2002 12:11:50 -0400
Reply-To: "David L. Ward" <dward@SASHELP.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "David L. Ward" <dward@SASHELP.COM>
Subject: Re: SAS/Intrnet question
In-Reply-To: <01c1fb4b$50b235e0$210f55c6@us0141491>
Content-Type: text/plain; charset="iso-8859-1"
Carol,
You can change the links to run JavaScript code instead of simply open a URL
like this:
<form name="frmLink1" style="display:none" action="/cgi-bin/broker.exe"
method="POST">
<input type="hidden" name="_program" value="mylib.myprogram.sas">
<input type="hidden" name="service" value="default">
...
</form>
<a href="javascript:document.frmLink1.submit()">Submit form</a>
In this manner, links become virtual buttons that submit data via the POST
method and thus somewhat hide the form parameters from the user.
HTH
David Ward
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU]On Behalf Of cjs46692
Sent: Tuesday, May 14, 2002 9:33 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: SAS/Intrnet question
Hello all. I have a question that may or may not be relevant to this
group. If not I apologize. I am creating an application using SAS/intrnet
(for the first time) and I am using sessions. How can I use anchor tags in
my programs without displaying the session id, etc in the URL? I know if I
use forms I can use method=post. Is there a similiar way to do this with
anchor tags? I really don't want to change all anchor tags to push
buttons.
Thanks for your help!
Carol