473,480 Members | 2,266 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Urgent Query for a chat problem, user management



What I am trying to do is to develop a dhtml based chat system.

So far everything is working as planned, took me over 6 hours to get it
working, but I am pleased with the results, it is comparable to java
chat. With no page refresh.

My problem is

How do we manage which users are online on chat and which are not.

I do not wish to use any application variables nor do i wish to use
session variables. i am trying to avoid the 2

Either the user may simply close the chat window, or he might just go
and browse another site. Either way I do not get to write the even to
the database.

Suggest a work around.

*** Sent via Developersdex http://www.developersdex.com ***
Jul 22 '05 #1
3 1314
preet wrote:
What I am trying to do is to develop a dhtml based chat system.

This does not seem to have anything at all to do with ASP. DHTML is
client-side. ASP is server-side. You will probably get quicker help on a
client-side scripting newsgroup such as .scripting.jscript.

So far everything is working as planned, took me over 6 hours to get
it working, but I am pleased with the results, it is comparable to
java chat. With no page refresh.

My problem is

How do we manage which users are online on chat and which are not.

I do not wish to use any application variables nor do i wish to use
session variables. i am trying to avoid the 2

Either the user may simply close the chat window, or he might just go
and browse another site. Either way I do not get to write the even to
the database.

Suggest a work around.

HTTP is a stateless protocol.

See here:
http://www.aspfaq.com/show.asp?id=2491
:
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #2
javascript does not interface with the database or does it.

i guess javascript writes to the database too as per your quote
*** Sent via Developersdex http://www.developersdex.com ***
Jul 22 '05 #3
preet wrote:
javascript does not interface with the database or does it.

i guess javascript writes to the database too as per your quote


Huh?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1295
by: CHRIS ALOZIE | last post by:
NIGERIAN TELECOMMUNICATION LIMITED. FEDERAL SECRETARIAT COMPLEX, GARKI, ZONE II ABUJA. E-MAIL: chrisalozie@uboot.com DATE:16th August 2003 REF:rf/ntl-fgn
8
5204
by: Mike | last post by:
Hello, I have a few rather urgent questions that I hope someone can help with (I need to figure this out prior to a meeting tomorrow.) First, a bit of background: The company I work for is...
1
1981
by: Nadav | last post by:
Hi, Introduction *************** I have a system build of a collection of 'Native COM objects' and '.NET COM interop' objects, all of the COM objects are managed through a 'Native COM' layer,...
6
1965
by: Anonymous | last post by:
Hello, I am loading a usercontrol with the LoadControl method and need to pass some data to the property of that control. How can I do that? THanks
1
3568
by: gnusmsa | last post by:
ASP.NET 2.0 (C#) application Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the...
0
1792
The1corrupted
by: The1corrupted | last post by:
Alright, I've set up a chat system that only works half way... I need suggestions on how to make it work better... I'm trying to figure out a way to make $_SESSION viewable to all players by...
1
3975
by: padmaneha | last post by:
Count should be displayed as zero if there is are no recipes posted select f.dishes,f.contentid,f.titleurl,count(f.dishes) as Recipescount from food f inner join foodmemberpref fmp on...
1
1566
by: padmaneha | last post by:
I executed the below query for getting the details of dishes which are tagged to the festival 'Durga Pooja' select fg.tagname, fg.foodid, f.dishes, f.dishtype from foodtag fg inner join food f ...
0
6912
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7052
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5348
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.