Url typed

M

Martin Walke

Hi all,

I have a application that runs an asp page launched by an onunload event of
a page. If the user types a URL into the address line of the browser, i need
to be able to redirect him to that page once i've finished with my onunload
script. Is there a variable/property that lets me get hold of that typed
UTL?

TIA
Martin
 
M

Martin Walke

Thanks Bob. That unfortunately gives me the URL of the page i've loaded due
to the unload event (in my case called, abandon.asp). I need the page name
of teh URL typed by the user that causes the unload event to fire.

Martin
 
B

Bob Barrows [MVP]

Martin said:
Hi all,

I have a application that runs an asp page launched by an onunload
event of a page. If the user types a URL into the address line of the
browser, i need to be able to redirect him to that page once i've
finished with my onunload script. Is there a variable/property that
lets me get hold of that typed UTL?

I doubt it, but you should verify by posting to a client-side scripting
group such as .scripting.jscript.
I'm thinking the address that triggers the onunload event is not visible
to the DOM until the new page loads into the browser.
 
M

Martin Walke

Good thought Bob.

Thanks for replying. Hadn't thought of grabbing the URL *before* passing
control to my ASP page. I'll give the group a try.

Martin
 

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

Members online

No members online now.

Forum statistics

Threads
474,091
Messages
2,570,604
Members
47,223
Latest member
smithjens316

Latest Threads

Top