Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am using a webview control and I want to access a webpage which asks for user name and password. I have the username and password but I dont want to prompt the user for credentials, how can I pass username and password with the url and login and access the webpage???
Example:
I want to access the modem configuration from web view. It asks for username and password before showing the interface.
Any suggestions?
Posted

1 solution

Use forms authentication. First, you create a login page and use this page for forms authentication. Then store the Identity in HttpContext.Current.User for further use from any where of your application.
 
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