Hide Hyperlink in status bar

A

APFC

I want to HIDE the results of the following hyperlink in the status bar so
that someone cannot see the url. The Results of the hyperlink is a url with
the agentID visable. I want to hide the entire url or disguise it.

My hyperlink is:
href="http://www.apfcftp.com:81/index.a5w?agentID=<%=Request.Cookies("apfcinc") ("username") %>" >x</a></p>
 
S

Stefan B Rusynko

Most browser now prevent hiding the status bar text for security reasons

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I want to HIDE the results of the following hyperlink in the status bar so
| that someone cannot see the url. The Results of the hyperlink is a url with
| the agentID visable. I want to hide the entire url or disguise it.
|
| My hyperlink is:
| href="http://www.apfcftp.com:81/index.a5w?agentID=<%=Request.Cookies("apfcinc") ("username") %>" >x</a></p>
 
R

Ronx

As Stefan said, modern browsers can be configured to prevent you hiding
the status bar text.
However, you may be able to solve the problem using a form:

<form action="http://www.apcfctp.com:81/index.a5w" method="post">
<input type="hidden" name="agentID" value="<%=Request.Cookies("apfcinc")
("username") %>>
<input type="submit" value="x">
</form>

The method="Post" will prevent the querystring being seen (although it
will still be visible in View Source).
The submit button can be styled, or replaced with an image:
<input type="image" src="images/submit-x.gif" title="Go to X" alt="Go to
X">

The image may resemble a text hyperlink.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top