Solved

Capture web address of page in  ASP.net VB

Posted on 2010-08-25
3
284 Views
Last Modified: 2012-05-10
I have a webpage built in vb.net for asp.net. What I need to do is to capture the url address of the page when it loads. Does anyone have any idea of how to capture this?
0
Comment
Question by:OB1Canobie
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Jini Jose
ID: 33526330
you can use Request.ServerVariables
0
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 33526342
To get the current URL, you use the Request.Url property.
http://msdn.microsoft.com/en-us/library/system.web.httprequest.url.aspx 
-Hades666
0
 
LVL 30

Assisted Solution

by:Brad Howe
Brad Howe earned 500 total points
ID: 33526352
Here is a nice breakdown of the details.
http://www.xcess.info/request_url_parameters_details_asp_net_aen.aspx
cheers,
Hades666
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question