469,950 Members | 1,381 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,950 developers. It's quick & easy.

Capturing requested Url before displaying

We would like to capture the URL clicked by the

user in the website before the webpage is

displayed to the user so that we can have control

whether to display that webpage( to him or

not.Website is developed in Classic ASP.Would

like to know if there is any event in global.asa

that corresponds to Application_BeginRequest in

global.asax in ASP.NET or any other alternative

to do the same.
Feb 14 '07 #1
1 1305
Question is not clear.... but anyway i will try to answer..

One solution is to create links inside a text box and you can call a javascript on the onclick event of the text box ... before that assign the value to the value property of the text box..

inside the javascript, get the value of the called text box and if the link is not permited. just screen it out..

else use window.open("url","_self")
to rerdirect to desired link...

NB: to hide the ext box value you can set border="0"

happy coding..

if any qustions ..feel free to contact me : clainds@yahoo.com
Feb 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by joseph.inglis | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.