Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Tracking Logins

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  IIS 6  
Author Message
tgmurray

External


Since: Aug 22, 2003
Posts: 4



(Msg. 1) Posted: Thu Aug 28, 2003 12:03 am
Post subject: Tracking Logins
Archived from groups: microsoft>public>inetserver>asp>db, others (more info?)

I am trying to write an application that will include as one of its
features the ability to track login times (entrance and exit).
I think the whole exercise is rather trivial especially so if the user
actually logs out. What I am not too sure how to go about handling is the
situation that would occur if rather than logging out he/she decides to kill
the browser window or exit the application and visit some other site.
I was thinking perhaps the best way to handle that situation would be to
track the activity of users through Application variables. I have a feeling
it would be possible with Session variables, too, but they depend on cookies
which are not always enabled. Am I correct in going with this approach and
how could I implement it if so?

Thanks in advance
Terry

 >> Stay informed about: Tracking Logins 
Back to top
Login to vote
wizard1

External


Since: Aug 26, 2003
Posts: 3



(Msg. 2) Posted: Thu Aug 28, 2003 12:03 am
Post subject: Re: Tracking Logins [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Terry,

As the other poster has mentioned, there is no concept
of logout time.

Perhaps you could sell a change in the definition to:
"contiguous periods of user activity"

If this flies, then you can set up some rules suitable
to the analysis and process your db or logs.

An example of a rule:

"if new ip address for user, then new login, previous activity was logout"

Bob


Terry Murray wrote:
 >
 > I am trying to write an application that will include as one of its
 > features the ability to track login times (entrance and exit).
 > I think the whole exercise is rather trivial especially so if the user
 > actually logs out. What I am not too sure how to go about handling is the
 > situation that would occur if rather than logging out he/she decides to kill
 > the browser window or exit the application and visit some other site.
 > I was thinking perhaps the best way to handle that situation would be to
 > track the activity of users through Application variables. I have a feeling
 > it would be possible with Session variables, too, but they depend on cookies
 > which are not always enabled. Am I correct in going with this approach and
 > how could I implement it if so?
 >
 > Thanks in advance
 > Terry

--


------------------------------------------------------------------
FREE DOWNLOADS
iis bandwidth protection -- <a style='text-decoration: underline;' href="http://coldlink.com/" target="_blank">http://coldlink.com/</a>
iis password protection -- <a style='text-decoration: underline;' href="http://wanderware.com/" target="_blank">http://wanderware.com/</a>
------------------------------------------------------------------




...<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Tracking Logins 
Back to top
Login to vote
none18

External


Since: Aug 28, 2003
Posts: 12



(Msg. 3) Posted: Thu Aug 28, 2003 1:06 pm
Post subject: Re: Tracking Logins [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

There is no reliable way to track an 'exit'
You are perhaps best to mark all users as logged off after a period of
inactivity (usually session.timeout) when their sessionid / IP is no longer
detected
(ie now() > (last detected + session.timeout )


"Terry Murray" <tgmurray.RemoveThis@rogers.com> wrote in message
news:O093b.287568$4UE.15647@news01.bloor.is.net.cable.rogers.com...
 > I am trying to write an application that will include as one of its
 > features the ability to track login times (entrance and exit).
 > I think the whole exercise is rather trivial especially so if the user
 > actually logs out. What I am not too sure how to go about handling is the
 > situation that would occur if rather than logging out he/she decides to
kill
 > the browser window or exit the application and visit some other site.
 > I was thinking perhaps the best way to handle that situation would be
to
 > track the activity of users through Application variables. I have a
feeling
 > it would be possible with Session variables, too, but they depend on
cookies
 > which are not always enabled. Am I correct in going with this approach and
 > how could I implement it if so?
 >
 > Thanks in advance
 > Terry
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tracking Logins 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]