as the website doesn’t use SSL , I have set the slidingExpiration to false . but I want it to be true for admin user ( role ) . is there any way to set it true setting for one user ( role ) and false for normal users ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the ticket is generated manually by using the FormsAuthenticationTicket class, the time-out can be set through the Expiration attribute. This value will override the timeout attribute value specified in configuration files. So when your Admin user signs in you can use this to manually set the expiration characteristics for that user based on their role.