is it possible to limit the number of days a persistent authentication cookie is valid?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
4/16/2012 12:04:12 AM
Gravatar
Total Posts 192

is it possible to limit the number of days a persistent authentication cookie is valid?

Hi.

I tried changing the password for an admin user.

but as persistent authentication cookies are enabled on the site, there is no need for re-login.

I don't want to completely disable it.

It would be better if the the user's authentication cookie expired after a limited time and he had to re-login each week.

can it be done?

4/16/2012 7:20:08 AM
Gravatar
Total Posts 18439

Re: is it possible to limit the number of days a persistent authentication cookie is valid?

Yes, this is controlled by the timeout on the <forms element in Web.config. In the latest code in the repository I have recently changed it to 20160 (it is in minutes so that is 2 weeks) for the default value, previously it was much longer.

Hope that helps,

Joe

4/16/2012 7:23:21 AM
Gravatar
Total Posts 192

Re: is it possible to limit the number of days a persistent authentication cookie is valid?

thanks.
You must sign in to post in the forums. This thread is closed to new posts.