Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2004

Tip: Looking for answers? Try searching our database.

Getting the full URL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nathan Sokalski - 28 Jun 2004 22:13 GMT
I need to get the full URL of the current page in ASP. When using
Request.ServerVariables("URL") anything after the filename (such as a
#section1 to jump to an area on the page or data submitted from a form using
the GET method) is automatically removed. I do not know of any keys for the
Request.ServerVariables collection that do this, but cannot find any other
objects/properties that would be appropriate. Any help would be appreciated.
Thank You.
Signature

Nathan Sokalski
njsokalski@hotmail.com
www.nathansokalski.com

Evertjan. - 28 Jun 2004 22:20 GMT
Nathan Sokalski wrote on 28 jun 2004 in
microsoft.public.inetserver.asp.general:
> I need to get the full URL of the current page in ASP. When using
> Request.ServerVariables("URL") anything after the filename (such as a
[quoted text clipped - 4 lines]
> find any other objects/properties that would be appropriate. Any help
> would be appreciated. Thank You.

response.write Request.ServerVariables("URL") & "?" & Request.querystring

Please stop this gross crossposting.

Foollow up only to: microsoft.public.inetserver.asp.general

Signature

Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Aaron [SQL Server MVP] - 28 Jun 2004 22:49 GMT
>I need to get the full URL of the current page in ASP.

Then why are you posting to asp.net, webcontrols, webservices, and
components newsgroups?

Follow-ups set ONLY to asp.general.

Signature

http://www.aspfaq.com/
(Reverse address to reply.)


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.