By tag: FormsAuthentication
Ban this user: Options
Please provide a reason for deleting this story
If we set the forms authentication and session timeouts to 10 minutes and after the 10th minute the user clicked on any link the app would redirect the user to the login page but the session was not abandoned i.e. the forms authentication ticket had expired but not the session state timeout.
The following derived class from NUnitAsp's WebFormTestCase class creates a Forms Authentication session by invoking the login page of the application, populating the username and password fields with real data, and submitting the form to allow the web application to set up the authentication sessio...