| Date: | Tue, 14 May 2002 13:18:43 -0400 |
| Reply-To: | Don Henderson <donaldjhenderson@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Don Henderson <donaldjhenderson@HOTMAIL.COM> |
| Subject: | Re: SAS/Intrnet question |
| Content-Type: | text/plain; charset="iso-8859-1" |
Jack and David are both correct about using JavaScript to do this.
But my question is why you want to hide the values? Any marginally
web-literate user is going to be able to get the value either via a view
source or by right clicking and looking at the properties. You can, of
course, add JavaScript and style sheets to disable this if you really need
to.
Is the concern somebody forwarding the links to others? Or saving them as
favorites? If so, method=post will render the URL that is forwarded/saved as
not usable. But with sessions, as soon as the session expires, the URL is
not usable anyway.
Asthetics (as Jack says) is a valid reason. If you can provide some detail
about what problem you are trying to solve or why you want to do this,
perhaps we could be of more help.
-don henderson
----- Original Message -----
From: "Jack Hamilton" <JackHamilton@FIRSTHEALTH.COM>
Newsgroups: bit.listserv.sas-l
To: <SAS-L@LISTSERV.UGA.EDU>
Sent: Tuesday, May 14, 2002 11:58 AM
Subject: Re: SAS/Intrnet question
> It's not a universal solution, but you could use JavaScript to hide the
> URL in the status bar. The user would still be able to view the source
> for the session ID.
>
> Or you could make the anchor tag submit a form, and pass the session ID
> as a form parameter. Again, the user would be able to get the session
> ID by viewing the source.
>
> I agree that hiding the session ID is good, but my reasons are purely
> aesthetic. Do you have other reasons? Are you trying to hide the
> session ID completely, so that there's no possible way for the user to
> view it? I suspect that's impossible if you have knowledgeable users.
>
>
>
> --
> JackHamilton@FirstHealth.com
> Manager, Technical Development
> METRICS Department, First Health
> West Sacramento, California USA
>
>
> >>> cjs46692 <cjs46692@GLAXOWELLCOME.COM> 05/14/2002 6:33 AM >>>
> 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
>
|