Generate response for sessions