473,385 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1376
clain
79
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

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

Similar topics

1
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my...
0
by: joseph.inglis | last post by:
Heres an interesting one and i guess its idea that are needed as opposed to a direct solution (although one would be welcomed of course). I want to render a webpage as an image. At the moment...
1
by: Oz | last post by:
This is long. Bear with me, as I will really go through all the convoluted stuff that shows there is a problem with streams (at least when used to redirect stdout). The basic idea is that my...
0
by: sadeeq | last post by:
Hi guys, I am making an application in VB.NET that will capture HTTP messages from the client's broswer, analyze them and then the requested page will be displayed in the client's browser. For this...
0
by: Sadiq | last post by:
Hi, I am making an application in VB.NET that will capture HTTP messages from the client's broswer, analyze them and then the requested page will be displayed in the client's browser. I changed...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.