Solved

Capture web address of page in  ASP.net VB

Posted on 2010-08-25
3
281 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now