|
 |
asp_web_howto thread: How to trap a clent in Chat applications...plz very urgent
Message #1 by "Suresh" <sureshjram@y...> on Fri, 28 Feb 2003 09:58:39
|
|
Hi all,
Hey plz its bit ugent plz do help me out.
I am Suresh here. I am doing a Chat(General) application in ASP.
This is the logic i used....
1. I had 2 pages login.asp,main.asp
2. Once the user logs in thru Login.asp i'll add the user to the
Application array( which is created in Global.asa)
3. In the Main.asp i have three pages in frameset
Display.asp --> Displays the typed message in it
Message.asp --> Used to type the message to be sent
Userlist.asp --->used to display the userlist
4.I keep refreshing the userlist.asp file ever 5 second so that it gives
me the latest userlist every 5 secs.
5.I have logout button using which the logged out user is removed from
the "userlist.asp"
============> My doubt is ==========>
# how cud i kill the application instances for an user.I tried to use
Session on end...but i am not clear how to use it.
# If the client closes the browser instead of logging out how cud i kill
the application instances created.
# suggest me some ideas and tips in handling the chat application and
especially to kill the single users sessions and application instances.
######### Plz provide me some ideas and help me me out
#####>>>>> HOW CUD I REMOVE THE USER FROM THE USER LIST("USERLIST.ASP")
WHEN HE CLOSES THE BROWSER WINDOW...CUD ANYBODY GIVE ME A SUGGESSION
sURESH
Message #2 by "Scott Heath" <scott@s...> on Fri, 28 Feb 2003 17:23:20 -0600
|
|
One suggestion or removing the user if he just closes the window: use
javascript and have it close the session. Not sure how you would do it
but it seems to be the most logical way.
-----Original Message-----
From: Suresh [mailto:sureshjram@y...]
Sent: Friday, February 28, 2003 9:59 AM
To: ASP Web HowTo
Subject: [asp_web_howto] How to trap a clent in Chat applications...plz
very urgent
Hi all,
Hey plz its bit ugent plz do help me out.
I am Suresh here. I am doing a Chat(General) application in ASP.
This is the logic i used....
1. I had 2 pages login.asp,main.asp
2. Once the user logs in thru Login.asp i'll add the user to the
Application array( which is created in Global.asa)
3. In the Main.asp i have three pages in frameset
Display.asp --> Displays the typed message in it
Message.asp --> Used to type the message to be sent
Userlist.asp --->used to display the userlist
4.I keep refreshing the userlist.asp file ever 5 second so that it gives
me the latest userlist every 5 secs.
5.I have logout button using which the logged out user is removed from
the "userlist.asp"
============> My doubt is ==========>
# how cud i kill the application instances for an user.I tried to use
Session on end...but i am not clear how to use it.
# If the client closes the browser instead of logging out how cud i kill
the application instances created.
# suggest me some ideas and tips in handling the chat application and
especially to kill the single users sessions and application instances.
######### Plz provide me some ideas and help me me out
#####>>>>> HOW CUD I REMOVE THE USER FROM THE USER LIST("USERLIST.ASP")
WHEN HE CLOSES THE BROWSER WINDOW...CUD ANYBODY GIVE ME A SUGGESSION
sURESH
|
|
 |