472,142 Members | 1,283 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,142 software developers and data experts.

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 1355
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.