Modify Web Browser Timeout

You can configure Responder Web to display a message at the bottom of each page that shows the amount of time remaining before the session expires, plus a pop-up that notifies when two minutes remain:

If you click Yes, then the expiration time left is reset. If you click No, then as soon as the expiration time is reached, you are logged off.

Session Timeout Message

To enable the Session Timeout Message, edit the sessiontimeout.js file  located by default in C:\inetpub\wwwroot\Responder. This is a read-only file, so you will need to make it writeable. You need to uncomment two sections that refer to Session Timeout, and the sections can be identified by locating the following comment:

 /**********Uncomment the following to display the counter of the session timeout./

Countdown

To enable the countdown, edit the web.config file as follows:

After

<authentication mode="Forms">
        <forms loginUrl="~/login.aspx" protection="All" slidingExpiration="true" timeout="30" />
</authentication>

Add

<sessionState timeout="30"/>

Where 30 = 30 minutes, which can be changed as desired.

Also in the web.config file, locate the following XML:

<authentication mode="Forms">
        <forms loginUrl="~/login.aspx" protection="All" slidingExpiration="true" timeout="30" />
</authentication>
<membership defaultProvider="DatabaseMembershipProvider" userIsOnlineTimeWindow="30">
        <providers>
                <remove name="AspNetSqlMembershipProvider" />
                <add name="DatabaseMembershipProvider" type="Miner.Responder.Shared.Security.DatabaseMembershipProvider, Miner.Responder.Shared" minRequiredPasswordLength="5" minRequiredNonAlphanumericCharacters="0" requiresUniqueEmail="false" connectionStringName="" />
        </providers>
</membership>

Set the timeout and userIsOnlineTimeWindow values to something greater than the value that you set above in sessionState timeout.

Time Remaining in Session

To enable both the Session Expiring message and the countdown on the web page, edit the default.master file located by default in C:\inetpub\wwwroot\Responder. This is a read-only file, so you will need to make it writeable. You need to uncomment two sections that contains the following title comment:

<%-Uncomment the following to display the counter of the session timeout.-%>

QR code for this page

Was this helpful?