Click here to Skip to main content
15,921,226 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to get text(while the user typing in address bar ) from the address bar to generate matching cookies from my database.
Its emrgncy plz help me
Posted
Updated 3-Mar-13 23:33pm
v2
Comments
Orcun Iyigun 4-Mar-13 5:03am    
You mean something like AutoComplete tool?

1 solution

Hello professional..

these all some kind of way that can help you to do your work

C#
string url = HttpContext.Current.Request.Url.AbsoluteUri;
// http://localhost:5505/webproject/index.aspx

string path = HttpContext.Current.Request.Url.AbsolutePath;
// /webproject/index.aspx

string host = HttpContext.Current.Request.Url.Host;
// localhost


and just look at this...

http://stackoverflow.com/questions/13027584/how-to-get-the-value-from-address-bar-entered-by-client[^]

happy to help.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900