asp_web_howto thread: handling application and session object's Events....in Chat application
hi All,
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
Expecting ur kind reply,
Regards
Suresh