Random tid choosing for sessions