Re: Global.asax

  •  06-22-2009, 3:57 PM

    Re: Global.asax

    Thanks for your Replay,
     
    Is it also possible to load this part in een http module?
    1. <script RunAt=server>   
    2.   
    3.     Public Overrides Sub Init()   
    4.         MyBase.Init()   
    5.            
    6.         If Not CuteChat.ChatSystem.HasStarted Then  
    7.             CuteChat.ChatProvider.Instance = New MyChatProvider()   
    8.             CuteChat.ChatSystem.Start(New CuteChat.AppSystem())   
    9.         End If  
    10.     End Sub  
    11.   
    12.   
    13. </script>  
    because I can only start the messenger once. The seccond user gets the message he/she already loged in.
    When the firs user logs out the second user can login but uses the username of the first user.
    The chatSystem will not start for a different instance of the application
     
     
View Complete Thread