Hi,
We have a MOSS 2007 server set to forms authentication running on port 80 with a SqlMembershipProvider for user authentication. This contains a couple of infopath document libraries and would be accessed on the internet.
An IIS application runs on port 18080 also with forms authentication and SqlMembershipProvider (same Membership DB) for user authentication.
ISSUE1:
Now when we run the IIS application as a page viewer web part using the same SqlMembershipProvider, the user needs to authenticate twice. Once to log onto sharepoint and then to log onto the application. I would like to know whether there is a way to bypass the second authentication and pass the user credentials from Sharepoint to the Application on port 18080?
ISSUE2:
When a user logs in once to Sharepoint and then on to the application and if he/she logs out of the sharepoint and again logs back in to sharepoint with another user name, the IIS application doesnot ask for authentication as the previous session is still available and the current user can use the application with previous user credentials.
In short I need a mechanism for my application to robustly communicate with sharepoint by passing the user authentication details from SharePoint to the PageViewer WebPart (running an independent IIS application) and remove the session as and when the user logs out of Sharepoint.
Please help
Thank you.