better session expire support