Does it depends on the lifespan of a cookie?