Solved

Capture web address of page in  ASP.net VB

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 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

11 Experts available now in Live!

Get 1:1 Help Now