expires field is long and can be used as Date.getTime(). See
http://groups.google.com/group/google-appengine-java/browse_thread/thread/b146bd93c417561c#
and if you need hint on code for cleaning up expired sessions let me
know. I can post the source.

On May 8, 3:54 pm, Joe Fawzy <[email protected]> wrote:
> Hi dear
>
> actually the session data cannot be analyzed that easy as it is just a
> blob of the session with all the web framework things
> and the expires field is an int so i do not know how this translate to
> date to delete non expired ones
>
> any help
> thanks
> Joe
>
> On May 8, 3:30 pm, Piotr Tarsa <[email protected]> wrote:
>
>
>
>
>
> > I think you should do some cron job.
>
> > I think keeping expired sessions can be an useful feature. You can dump
> > session to your local disk and analyze them. For example you can log some
> > user actions to sessions and then analyze them offline.
>
> > 2010/5/8 Joe Fawzy <[email protected]>
>
> > > Hi
> > > i have thausands of entries in my ah_SESSION data store table, it
> > > dates several days back
> > > it does not expire or delete, i think it is non sense to keep all the
> > > sessions even that expired in the web container in the data store....
> > > if it expires , when it expires? and how to trigger that
> > > if it does not expires or auto delete? is it a feature?
> > > How can i delete them? do i have to do it myself? or appengine have a
> > > setting for it?
> > > i know i can do it in code .. but....
> > > What is your experience with it?
>
> > > Joe
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine-java%2B
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine for Java" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to