Formauthentication across the web application in asp.net

Posted by Sumit.Bundiwal under ASP.NET on 9/15/2012 | Points: 10 | Views : 1192 | Status : [Member] | Replies : 2
183 Points

63 Posts


FormAuthentication accross web applications.

14 hours, 5 minutes ago|LINK


Hi,

I've 2 different web applications. In all these application i've used formauthentication.

Problem Statement:

Consider I have 2 web site - dealer.com, company.com

company.com provides login functinality to dealer.com for ease of use to end-customer and company.com has also same login page.

dealer wants his brand name on login page and after login end-customer should feel same environment (not like redirected in other web site).

so, i have used <form action="company.co/login.aspx?dealer=1" method="post"> in dealer.com web site.

and on the other site(company.com)- i can get values in form element. Its works fine for first time but after logout action if i try secontime with same credential it redirect me to company.com/logn.aspx page.

Further, i dont want to pass uid and pwd in query string.

Cany anybody guide me or suggest to carry out this functinality?

Is any other way to do the same task? I dont know how these web deployed on same server or different.

Any suggession or help will be greatly appreciated.




Thanks in advance.

sumit bundiwal


Responses

Posted by: Jayakumars on: 9/29/2012 [Member] [MVP] Bronze | Points: 25

Up
0
Down
hi
Please mark as answer if it helpful to you.

Mark as Answer if its helpful to you

Sumit.Bundiwal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response