On 26/08/16 17:34, Dirk Frederickx wrote:
> Hi Dave,
>
> Did you know that you can change the "Session Timeout" message which is
> shown by JSPWiki when that timeout occurs ?
> Just create the SessionExpired page.    It's probably also a good idea to
> put a   [{ALLOW edit Admin}]  in that page.

Hi Dirk/All,

I didn't know that either – good call! I couldn't actually get this to
work on my JSPWiki instance, but that's likely something to do with it
being private and using container managed authentication. I've added
your text almost verbatim to the post (let me know if it needs
changing), and it's is now live at:

https://blogs.apache.org/jspwiki/entry/change_jspwiki_s_inactive_session

Cheers,
Dave


>> Hi All,
>>
>> "Quick tip" blog post for review:
>>
>> ****
>>
>> The default inactive session timeout value for JSPWiki is 30 minutes –
>> quite often too short. The value can be adjusted by adding the following
>> entry to the web.xml file, (where the "session-timeout" value is in
>> minutes):
>>
>> <session-config>
>> <session-timeout>60</session-timeout>
>> </session-config>
>>
>>
>> This sets inactive sessions to be logged out after one hour.
>>
>> Alternatively, a session timeout value can be configured in the
>> application server. For example, on Payara Server, go to "server-config
>> → Web Container", and under the "Session Properties" tab set the session
>> timeout value in seconds:
>>
>> JSPWiki-SessionTimeout-1.png
>>
>> JSPWiki-SessionTimeout-1.png
>>
>>
>> --
>> Dave Koelmeyer
>> http://blog.davekoelmeyer.co.nz
>> GPG Key ID: 0x238BFF87
>>
>>

-- 
Dave Koelmeyer
http://blog.davekoelmeyer.co.nz
GPG Key ID: 0x238BFF87

Reply via email to