Version Française
Search Stories : Publier Votre Article
> Request.Url parameters & details (Asp.net) <
Published on 07/04/2008 By Malek Chtioui (Xcess)
Request.Url
Full URL : http://localhost:2000/virtual_dir/myrep/page.aspx?q=qvalue


Request.ApplicationPath : /virtual_dir
Request.CurrentExecutionFilePath : /virtual_dir/myrep/page.aspx
Request.FilePath : /virtual_dir/myrep/page.aspx
Request.Path : /virtual_dir/myrep/page.aspx
Request.PhysicalApplicationPath : d:\Inetpub\wwwroot\Websitename\virtual_dir\
Request.QueryString : /virtual_dir/myrep/page.aspx?q=qvalue
Request.Url.AbsolutePath : /virtual_dir/myrep/page.aspx
Request.Url.AbsoluteUri : http://localhost:2000/virtual_dir/myrep/page.aspx?q=qvalue
Request.Url.Host : localhost
Request.Url.Authority : localhost:2000
Request.Url.LocalPath : /virtual_dir/myrep/page.aspx
Request.Url.PathAndQuery : /virtual_dir/myrep/page.aspx?q=qvalue
Request.Url.Port : 2000
Request.Url.Query : ?q=qvalue
Request.Url.Scheme : http
Request.Url.Segments : /
  virtual_dir/
  myrep/
  page.aspx
 
This article has been transferred to CodiCode.com :
 Comments : Publish your article
My custom class
By Asp, Date: 11/04/2008
Is it possible to access the request or the session from my class placed in app_code?
re My custom class
By xcess, Date: 11/04/2008
Yes, you can get the current httpcontext from a public static fonction or procedure :

- System.Web.HttpContext.Current.Application : application
- System.Web.HttpContext.Current.Session : user session
- System.Web.HttpContext.Current.Request : Current request
...
request url
By almarjin, Date: 06/01/2009
is "localhost:2000" equal to "domain.com"..?

Thanks,
Feed Back
By Rajesh, Date: 12/01/2009
Good Information about the URL kind of thing!!!
help me
By salman, Date: 10/05/2009
i've a link "a href="company.aspx?company=1" "Company "/a"
how can i show number "1" in a page.
if company=2. how to view "2" which is database select query "select * from table where id = company=2"
help me
By salman, Date: 10/05/2009
i've a link "a href="company.aspx?company=1" "Company "/a"
how can i show number "1" in a page.
if company=2. how to view "2" which is database select query "select * from table where id = company=2"
help me
By salman, Date: 10/05/2009
i've a link "a href="company.aspx?company=1" "Company "/a"
how can i show number "1" in a page.
if company=2. how to view "2" which is database select query "select * from table where id = company=2"
help me
By salman, Date: 10/05/2009
i've a link "a href="company.aspx?company=1" "Company "/a"
how can i show number "1" in a page.
if company=2. how to view "2" which is database select query "select * from table where id = company=2"
RE: help me
By John Smith, Date: 11/08/2009
Request.QueryString["company"] will return a string containing the number in the query section of the url
müzik dinle
By resul, Date: 19/12/2009
thank you for sharing.


[URL="http://www.dinliyoz.net"]online mp3 dinle[/URL]
getting url parameter
By tsibiso, Date: 25/01/2010
guys you really helping.
Good work...
Today i was busy, for the first time requesting url parameters in asp.net C sharp. I'm client based developer, i get challenge now and i have to fix it now, if not they tell my boss and i'm getting cold. Thanks....guys.
define simply URL
By naved, Date: 28/01/2010
i have heared from various siurces abt url but still i m little bit confuse that wgat does url exactly do ?? is it a protocall which works as http ...???
URL is an address
By Help, Date: 20/04/2010
an URL is an address, just like a phone number or street address.
each website (each page) has an address you call call to grab the page from the server.
bookmarked
By jenya, Date: 15/10/2010
thanks
great
By abhi, Date: 21/10/2010
very helpful
Great
By Bharat Gambhir, Date: 11/01/2011
It is great. Thanks for providing this useful information. Bharat Gambhir.
MR
By ALKURDI AHMAD, Date: 27/03/2012
PLEASE SEND SAMPLE AND CATALOUGE THANKS
0097477089900
By ??? ????, Date: 27/03/2012
"w"www
 Add your Comment :
Your Name :
Email :
   * Email address will be hidden.
Title :
Comment :
Other articles
5 Ways To Convert Anything to Anything
 By Malek Chtioui, Date : 22/06/2007
The Melody of Words - Jack Kerouac: From Bebop to Punk
 By Aleksander Sienkiewicz, Date : 19/06/2007
Unlock your Nokia phone online for FREE.
 By Xcess, Date : 01/04/2007
New Concept of Luxury Car : Mobile Office SUV
 By JOSEE HANLON, Date : 20/05/2008
Egypt Travel Guides
 By Xcess, Date : 24/03/2007
Top 5
Unlock your Nokia phone online for FREE.
 By Xcess, Date : 01/04/2007
A Program That Can Fix Dead Pixels On Your LCD Screen.
 By Malek Chtioui, Date : 14/06/2007
5 Ways To Convert Anything to Anything
 By Malek Chtioui, Date : 22/06/2007
Pictures of Dubai, a New City In Full Expansion
 By Malek Chtioui, Date : 12/06/2007
Request.Url parameters & details (Asp.net)
 By Malek Chtioui (Xcess), Date : 07/04/2008
Xcess Company, Adress : Xcess Company S.A.R.L., Boulevard Aïcha Bent Abi Backer, Khézama 3, Sousse, Tunisia.
Fax : (+216) 73 276 669 , Email/MSN : mail@xcess.info