Solved

Capture web address of page in  ASP.net VB

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

840 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