By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,827 Members | 813 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,827 IT Pros & Developers. It's quick & easy.

Request for Comment on time based billing system

P: n/a
Hello,

Currently, I'm finding a way to build a system that is billing to any
web access end-user. If they new a session to web server, then start to
charge, and if they close the browser, then end this charge. As everybody
know that web server is stateless and hard to detect browse close behaviour.
Is there any wise way to do so?
I have tried to log all the sessionid in a array in global.asax, and any
one of web page aspx add a <meta http-equiv="Refresh" content="2"> to
trigger the client browser to do post back to web server as polling back
trick to inform the web server that the browser is not closed. However, I
don't know how to check the sessionid is expiry or abandoned in the
global.asax timer loop. And even how to trigger application_end to stop the
timer.
If there is another wise way to implement this requirement. Please let
me know, I'm very appreciated for any advices. Thanks for attention!

Regards
Den
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.