if sesh.ip_addr != newip:
    logging.warn('Session IP has changed to %s.' % newip)
newua = rh.request.headers.get('User-Agent', None)
if sesh.agent != newua:
    logging.warn('Session UA has changed to %s.' % newua)
Как реализовать простые сеансы для Google App Engine?