Version Française
Search Stories : Publier Votre Article
> Request.Url parameters & details (Asp.net) <
Published on 4/7/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 :
 Commentaires : Publier Votre Article
My custom class
By Asp, Date: 4/11/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: 4/11/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: 1/6/2009
is "localhost:2000" equal to "domain.com"..?

Thanks,
Feed Back
By Rajesh, Date: 1/12/2009
Good Information about the URL kind of thing!!!
help me
By salman, Date: 5/10/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: 5/10/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: 5/10/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: 5/10/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: 8/11/2009
Request.QueryString["company"] will return a string containing the number in the query section of the url
bookmarked
By jenya, Date: 10/15/2010
thanks
great
By abhi, Date: 10/21/2010
very helpful
Great
By Bharat Gambhir, Date: 1/11/2011
It is great. Thanks for providing this useful information. Bharat Gambhir.
MR
By ALKURDI AHMAD, Date: 3/27/2012
PLEASE SEND SAMPLE AND CATALOUGE THANKS
0097477089900
By ??? ????, Date: 3/27/2012
"w"www
 Ajouter un commentaire :
Nom (ou pseudo) :
Email :
   * Adresse non affichée avec votre message.
Titre :
Commentaire :
Other articles
The main difference between Europe and USA
 By Houda Mansour, Date : 6/9/2007
Lybia Hotels and Resorts
 By Houda Mansour, Date : 6/7/2007
VS 2008 ERROR Creating control in content pages (Unknown server tag)
 By Malek Chtioui, Date : 6/1/2008
Pictures of Dubai, a New City In Full Expansion
 By Malek Chtioui, Date : 6/12/2007
The 2,000-year-old computer
 By Cardiff University, Date : 12/5/2006
Top 5
Unlock your Nokia phone online for FREE.
 By Xcess, Date : 4/1/2007
A Program That Can Fix Dead Pixels On Your LCD Screen.
 By Malek Chtioui, Date : 6/14/2007
Pictures of Dubai, a New City In Full Expansion
 By Malek Chtioui, Date : 6/12/2007
Request.Url parameters & details (Asp.net)
 By Malek Chtioui (Xcess), Date : 4/7/2008
How to : Resetting/Formatting your Nokia Phone (series 60 Nokia Mobile)
 By James, Date : 2/22/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