Creating an interactive website
        Posted  
        
            by Aviran
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Aviran
        
        
        
        Published on 2010-06-11T15:17:02Z
        Indexed on 
            2010/06/11
            15:32 UTC
        
        
        Read the original article
        Hit count: 350
        
I want to create an interactive website using aspx and ajax, that there will be an option to create chess game room for example and other players will be able to join.
I have 2 Questions:
- I wonder if you have any idea how can I make that after one player clicks on a button and finish his turn, the other player will be able to do a move.
After the first player finish his turn I will change the turn by using the database, but the point is how can I refresh the other player's site so when the other one finish his turn, the turn will come to the second player?
- When someone creates a room and than close his browser - I need that room to be closed. Shall I use the Session_OnEnd to close the room he opened?
Thanks!
© Stack Overflow or respective owner