Delete old _ah_SESSION entities

Image representing Google App Engine as depict...

GAE has not input automatic removal service for expired _ah_SESSION entities. I found the following way, solve by examining sessionCleanupServlet. It delete expired session using cron jobs. The App Engine Cron Service allows you to configure regularly scheduled tasks that operate at defined times or regular intervals.

First time, I decided not to post this in my blog coz all are copied. It is meaningless. But I did not find this configuration in official site. So, I copied this from original as a note. That’s all. Be happy with my note. 😀

We’ll add this to shortly. In the meantime,

here’s what you can do:

In web.xml:





















And in cron.xml:




<description>Clean up sessions</description>

<schedule>every day</schedule>



Pasted from <>


4 thoughts on “Delete old _ah_SESSION entities

Leave a Reply

Your email address will not be published. Required fields are marked *


CommentLuv badge