Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Admin Timout as a webpart View modes: 
User avatar
Member
Member
egarrison-wte - 8/5/2013 1:55:40 PM
   
Admin Timout as a webpart
When you are in the Admin (CMSDESK) on V.7 and leave it idle for a few minutes, you get a nice pop up to timeout and lockout the admin. I would like to extend this to a private logged in side on one of our sites. Is this a webpart I am missing or is there an easy way to get that functionality over to the member side of the site?

Eric

User avatar
Member
Member
kentico_sandroj - 8/5/2013 8:14:58 PM
   
RE:Admin Timout as a webpart
Hello,

You can update the following values in your Web.config to extend the timeout:
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />

and/or

<forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="6000000" slidingExpiration="true" />

Please let me know if this doesn't help, there is another way to accomplish it but it's not ideal.

Thanks,
Sandro

User avatar
Member
Member
egarrison-wte - 8/6/2013 7:42:09 PM
   
RE:Admin Timout as a webpart
Not exactly what I was looking for. Here is the problem. This will do it for all sites. We have multiple clients on one instance. I can split the instance, but that would be a pain.

I was looking for the object that does the "Your screen was locked due to long period of inactivity. Please enter your password to unlock it again."


User avatar
Member
Member
kentico_sandroj - 8/6/2013 9:47:54 PM
   
RE:Admin Timout as a webpart
Ah ok, that means you are interested in the screen locking feature which is site-specific. Please take a look at this document and let me know if you have any questions.

Regards,
Sandro

User avatar
Member
Member
sschmidt-avastonetech - 10/28/2013 11:30:14 AM
   
RE:Admin Timout as a webpart
Does this screen locking feature only work for Admin users or could it be used for Forum users?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/1/2013 11:19:42 AM
   
RE:Admin Timout as a webpart
Hello,

No this locking feature can not be used for forum users, this is available for the users logged in the administration interface - CMS Desk or Site Manager.

What you can do is to limit the session timeout via web.config file e.g.:

To limit session for 20 minutes:
<authentication mode="Forms">
<forms loginUrl="CMSPages/logon.aspx" defaultUrl="Default.aspx" name=".ASPXFORMSAUTH" timeout="20" slidingExpiration="true"/>
</authentication>

Best regards,
Martin Danko