scala - Play framework: how to monitor number of active sessions with standard session API? -


in play framework there api create session, put data session , discard session. have insight things how many active sessions in installation, how many data in volume bound them, etc. there means deal this?

play stateless nature, no session exists on server tracked or monitored. when use session api create cookie sent every request / response from/to browser.

this cookie doesn't have timeout or expiration date, hence persist long browser open. can implement own session timeout mechanism setting last access time on session cookie , compare desired timeout on every request.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -