Our website uses a third party Internet service for which
we have to pay. In order to bill our customers for usage
of this service, we count the number of times this service
is used, and store this in a Session object. When the
browser closes, we want to write the usage count to our
database.
If the user leaves our website, can I still retrieve the
information from the session object?
Jaco
>-----Original Message-----
>Session_OnEnd is very unreliable.
>
>I would also forget about trying to pin down when a user
entered the system
>and when a user left the system, as you might have done
with a traditional
>client-server application.
>
>It is much more practical to record what pages a user
calls, and when...
>You can determine that user left within 20 mins of the
last page request
>(assuming you leave the default timeout).
>
>What do you mean by resource usage?
>
>Time on the system, I assume?
>
>Chris
>
>
>"Jaco Bregman" <>
wrote in message
>news:054a01c3bd6d$0387c420$...
>> Hi all,
>>
>> I've been trying to save some user settings when the
>> browser closes, but with little success. What I want to
do
>> is count a users' resource usage, and write it to a
>> database when the user closes the browser. I tried to
use
>> the 'Session_End' event handler in global.asax, but that
>> doesn't seem to work.
>>
>> Any Ideas?
>
>
>.
>
|