473,387 Members | 1,520 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,387 software developers and data experts.

Url typed

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
Aug 10 '07 #1
4 1703
Look at path_info and query_string in ServerVariables.

Bob Lehmann

"Martin Walke" <martin.walke_no_spam@vega_dot_co_dot_ukwrote in message
news:ei**************@TK2MSFTNGP04.phx.gbl...
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


Aug 10 '07 #2
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
"Bob Lehmann" <no****@dontbotherme.zzzwrote in message
news:%2***************@TK2MSFTNGP04.phx.gbl...
Look at path_info and query_string in ServerVariables.

Bob Lehmann

"Martin Walke" <martin.walke_no_spam@vega_dot_co_dot_ukwrote in message
news:ei**************@TK2MSFTNGP04.phx.gbl...
>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



Aug 13 '07 #3
Martin Walke wrote:
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.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Aug 13 '07 #4
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

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcomwrote in message
news:ef**************@TK2MSFTNGP03.phx.gbl...
Martin Walke wrote:
>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.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


Aug 13 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark | last post by:
Just wanted to confirm that my understanding of a strongly typed language is correct: 1. .NET is a strongly typed language because each variable / field must be declared a specific type (String,...
20
by: Dennis | last post by:
I use the following code for a strongly typed arraylist and it works great. However, I was wondering if this is the proper way to do it. I realize that if I want to implement sorting of the...
3
by: Freeon | last post by:
Hi, I am looking for a way to sort a strong typed dataset. It would seem the most straightforward way is to use a dataview. The only problem is when I use the dataview I seem to loose the strong...
1
by: Optimus | last post by:
Hi everyone, I currently develop an application in vs.net 2005 with vb.net. I was trying to use typed dataset and I've got in trouble for converting untyped dataset into Typed DataSet. I don't...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
4
by: Ronald S. Cook | last post by:
I've always used untyped datasets. In a Microsoft course, it walks through creating typed datasets and harps on the benefits. It has you drag all these things around ..wizard, wizard, wizard......
21
by: Peter Bradley | last post by:
Hi all, This post is sort of tangentially related to my earlier posts on configuration files for DLLs. Does anyone know how to create typed DataSets using VS2005's new DataSet designer, but...
1
by: Code Monkey | last post by:
Silly question maybe, but I've been doing the following for far too long now: public static DataTable myDataTable() { string sql = @"SELECT column1, column2, column3, column4 FROM...
4
by: Rachana | last post by:
Hi, I have understood Data Sets but what is meant by typed/untyped/ strongly typed datasets. Can any one explain me or suggest any site/ article, to get these concepts (and their ...
12
by: BillE | last post by:
I'm trying to decide if it is better to use typed datasets or business objects, so I would appreciate any thoughts from someone with more experience. When I use a business object to populate a...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.