Forms Authentication Help !
-
Hello !! Thank you for reading this post. Here is my problem. I have build a website that uses forms authentication.So there is a login page..you need to enter your login pwd and this is checked against a database and if authenticated is shown a welcome page. Also if i copy the url of a protected page, it will redirect to the login page and on successful login it will redirect to the requested page. All works fine. Here is my problem I need to integrate my site with the site of a vendor. My site shall be put inside an application folder under the vendor site. I cannot modify his web.config..i can add common classes and dlls though. I shall be giving the login component as a web user control to the vendor, this login is slightly different than my login page.On entering login and pwd, it checks against my db and if valid...it shows a welcome message inside the login control on a label and replaces the login/pwd boxes with a panel containing links to pages inside my app.On clicking on the links, it should redirect to my pages without a hitch. How will my forms authentication on my login page inside the vendor application directory know the user has been authenticated ? What stops it from showing the login page to the User? Please help !!! your comments are most appreciated !! a sample code or a link which can explain this wud be most appreciated !! Thanks RH