Click here to Skip to main content
15,911,890 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a url assigned to a string(string url="asp.net/use=hi?password=hello").now i want to get parameters out of this string(use and password). can anyone please tell me how to do it. i have use querystring for that but it just takes parameters from url of the current page not of the string.please help me out.
thanks in advance
Posted
Comments
ssd_coolguy 23-Jun-12 4:05am    
let us know what you have tried?

Implementing authentication this way is not a good idea, please have a look at: Security: It’s Getting Worse[^]

As for access to the parameters for a Page[^], you should use the Params[^] property of the Page.Request[^] property.

ASP.Net provides what you need to implement authentication and authorization, please read: ASP.NET Security[^].

Here is a step-by-step walk-through that you might find helpful:How To Implement Forms-Based Authentication in Your ASP.NET Application[^]

Best regards
Espen Harlinn
 
Share this answer
 
v2
Comments
Sandeep Mewara 23-Jun-12 10:02am    
Good answer & references. 5!
Espen Harlinn 23-Jun-12 10:05am    
Thank you, Sandeep :-D
This[^] will give you a good start to proceed with.
 
Share this answer
 
HI TO USE THE REWRITE URL to hide values by using response.redirect()
TRY THIS
 
Share this answer
 

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