Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there,

Is there any way to post xml data to asp.net page that is required authentication.
Posted

1 solution

Form a query string for login.aspx page. Like this


C#
YourSite/Login.aspx?xml=xmldocument



Then detect the query string in page load or oninit of Login.aspx using,

C#
var loginCredentials=Page.Request.QueryString["xml"];


Then parse the xml nodes to get the username and password and then authenticate it using any type of authentication method.
 
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