Solved

Capture web address of page in  ASP.net VB

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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