Im developing a webappliation that people will pay for the time that they use it.
What is the best way to meassure how long time a user is loged in ?
At first I thougth that session_start and session_end would help me, but if the users just closes the browser the session will not be ended until the session time out limit is reached(im well aware that the www is stateless=. Is there any realiable solution on this problem or is there a total different approach to this problem ?
Thanks for any ideas.