Re: Global.asax

  •  06-24-2009, 5:04 AM

    Re: Global.asax

    Cutechat,
     
    I think I'm seriously doing something wrong.
     
    I change my global.asax a little bit so the username is equal to the Id.
    Usernames can change, Id's don't.
    But now I'm discovering some problems.
    I can add Contacts some Times but cuteChat mixes my contacts.
    Sometimes the wrong contact will be added and sometimes I can't add them because the system thinks its me but it isn't
    and I can't add all contacts because they're already a contact. but it isn't, the system thinks this because contacts are mixed up.
     
    I'm using the default add contact button of the cutechat. So that can't be the problem.
     
    My discription above might be unclear but I don't know how to explain clearly.
     
    I have two users in the database(cutechat4_user) and the chatmodule thinks it's one.
    actualy I have five users now and cutechat thinks it's two but that doen't make any difference I think.
     
    Regards
     
    Bart
     
    Edit:
    This is my table export
    Since I only used the Id for logging in only User 1 and 3 can login.
    For some reason User 1 always ads bkock as contact no mather if he exists and what he types.
    User 2 always ads jrutten.
     
    User:1 bkock NULL NULL arr,S-1=10=User:bkock; InstantActivateTime:633814426528437500 NULL NULL
    User:3 jrutten NULL NULL arr,S-1=12=User:jrutten; InstantActivateTime:633814426917187500 NULL NULL
    User:admin admin NULL NULL NULL InstantActivateTime:633813609850468750 NULL NULL
    User:bkock bart NULL NULL NULL InstantActivateTime:633814399346406250 NULL NULL
    User:jrutten jrutten NULL NULL NULL InstantActivateTime:633813610605000000 NULL NULL
     
    When I delete a user from the dabase and I log in again(shut down IE an start again) the usersettings are the way they are before. So the session on the server will nog be killed. I removed synclock form the global.asas but this doesn't help.
     
    Might not unloading the messenger from the server is a part of the problem.
View Complete Thread