Here is one nice method for login in Sharepoint through Web Service. But the case is FBA (Form Based Authentication).
When we try to login in SharePoint Using WebService, It's very easy in case of Active Directory Based User Login because AD Login need one line of code to pass credentials.
But What about Form Based Authentication ?
When the case is FBA (Form Based Authentication) cookies comes in Scenario...
It is totally different then AD Login.
Here is one small function I used for FBA login in Sharepoint using Web Service....
Step 1 : First you need to add one Web Service Referance for Authentication.asmx
Step 2 : Use this function
When we try to login in SharePoint Using WebService, It's very easy in case of Active Directory Based User Login because AD Login need one line of code to pass credentials.
But What about Form Based Authentication ?
When the case is FBA (Form Based Authentication) cookies comes in Scenario...
It is totally different then AD Login.
Here is one small function I used for FBA login in Sharepoint using Web Service....
Step 1 : First you need to add one Web Service Referance for Authentication.asmx
Step 2 : Use this function