So, since shiro native sessions are not associated with web requests, what 
actions are supposed to update lastAccessTime?  

Thanks. 



> On Mar 20, 2014, at 12:12 PM, 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