Sorry I should have added the spec.

http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpSession.html#getLastAccessedTime()


On 20 March 2014 16:12, Dominic Farr <[email protected]> wrote:

> Not sure it is. The spec for lastAccessTime states
>
> Actions that your application takes, such as getting or setting a value
> associated with the session, do not affect the access time.
>
>
> On 20 March 2014 15:24, Lenny Primak <[email protected]> wrote:
>
>> Oh, and I am using Shiro 1.2.2 on MacOS
>>
>> On Mar 20, 2014, at 11:24 AM, Lenny Primak wrote:
>>
>> > Hi,
>> >
>> > I'm a long-time Shiro user, but new at native session management.
>> > I have a programmatically-configured app (no shiro.ini)
>> > with default SessionManagement (native) turned on.
>> >
>> > When doing Session.getAttributeKeys() and Session.getAttribute(),
>> > the lastAccessTime isn't getting touched.  I have to explicitly use
>> session.touch() to update last access time.
>> > Is this a bug?
>> >
>> > Thanks
>> >
>>
>>
>

Reply via email to