Link to home
Start Free TrialLog in
Avatar of TrialUser
TrialUserFlag for Afghanistan

asked on

how to get the url path from Request object

I have a URL that looks like  :
http://localhost:19115/somepager.aspx?mfg=AM JACQUARD&mod=amtext 222

I want to be able to get the "somepager.aspx?mfg=AM JACQUARD&mod=amtext 222"
alone. How can I get it from the request object. Getting the Request.UrlReferrer.AbsolutePath

returns only "/somepager.aspx" and not the the query string. Please help thanks        
ASKER CERTIFIED SOLUTION
Avatar of pivar
pivar
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please try:

Request.UrlReferrer.PathAndQuery
Avatar of Kiran Sonawane
Avatar of TrialUser

ASKER

thx a ton worked perfectly