Ask a Question related to Dreamweaver AppDev, Design and Development.
-
ossie #1
ASp.net VB - Building a who's online feature
Hi
I have been asked about implementing a "Who's online" feature on a clients
website but am unsure of the best practises for doing it.
All users have to log in to the site so my first thoughts were to add an
event to my login page that inserted the userID into an whosonline table in
the sql backend, and an on logout which deletes the entry.
I was also going to add an on session end event in my global.asax to remove
the user from the DB if they hadn't physically logged out. The problem I can
see with this is that if users don't log out and just close the browser etc
my who's online is going to be 20ish minutes behind.
Any one have any thoughts on a better way of acheiving this?
Thanks
ossie Guest
-
Log-in feature
Okay, I have run into a little problem in creating an asp site. Many thanks to anyone who has any ideas. This is a rather complicated site--let me... -
the 3d feature
other than not having to launch classic and use another app (dimensions) whats the point of the 3d feature in cs? the 3d feature is slo and maybe... -
Building an online portfolio
I have a lot of photos that I would like to compile as an online portfolio and put on my website. Can I get people's opinions of which is the best... -
Professional Photographers - Sell your Photos Online , Online Proofing, Watermarking, Image Protection, and more.
On 6 Jul 2003 11:40:28 -0700, in <9d2caaf1.0307061040.a857786@posting.google.com>, bluearchtop@my-deja.com (Ted Smith) said: Too expensive.... -
Bug or feature in SQL SP
Hi all. In db2diag.log I found next record 2003-07-03-13.21.46.812000 Instance:DB2 Node:000 PID:2096(db2dari.exe) TID:3144 Appid:... -
RobGT #2
Re: ASp.net VB - Building a who's online feature
If you can guarantee use of Internet Explorer browser only, you could make
use of the onBeforeUnload event to trigger a database update if/when the
user just closes their browser window/navigates away from the page.
Other than that, I'm afraid that all you can really do is to set a lower
session timeout and live with the who's online feature being out slightly...
Oh - unless .NET allows you to do more that classic asp does in this regard
(I just spotted the .net in the subject... duh! :)
HTH
Rob
[url]http://robgt.com[/url]
RobGT Guest
-
ossie #3
Re: ASp.net VB - Building a who's online feature
Thanks Rob
According to our stats it's a 60/30 split with I.E/Firefox with about 10%
using other browsers.
I'll keep thinking & looking around
"RobGT" <rob@lighthouseuk.removeme.net> wrote in message
news:d2h19k$pqm$1@forums.macromedia.com...> If you can guarantee use of Internet Explorer browser only, you could make
> use of the onBeforeUnload event to trigger a database update if/when the
> user just closes their browser window/navigates away from the page.
> Other than that, I'm afraid that all you can really do is to set a lower
> session timeout and live with the who's online feature being out
> slightly...
>
> Oh - unless .NET allows you to do more that classic asp does in this
> regard (I just spotted the .net in the subject... duh! :)
> HTH
> Rob
> [url]http://robgt.com[/url]
>
>
ossie Guest



Reply With Quote

