#67 Patch to update lastAccessTime in Session

WebKit (45)

This is a patch to update the lastAccessTime attribute
in WebKit.Session whenever the value dictionary is
accessed. I believe that this is the expected
behaviour. The code prior to this patch only updates
the lastAccessTime on a new Transaction or on awake().
awake() is not always called, so sessions sometimes go
prematurely stale.


  • Christoph Zwerschke

    Better diff file against Webware 0.9.1

  • Christoph Zwerschke

    Logged In: YES

    I'm not sure whether this is a good idea because of its
    impact on performance if you call time() for every session
    value you access. Actually, awake() should be called
    whenever a servlet with a session is accessed. If awake() is
    not called, this rather indicates that something is going
    wrong. So I haven't checked this in, but I keep this patch
    open for review by others and since you diff'ed tabs against
    spaces, I attached a better diff file.

  • Christoph Zwerschke

    • status: open --> closed
  • Christoph Zwerschke

    Logged In: YES
    Originator: NO

    Closing this now.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks