Re: Cannot use existing session for user integration

  •  11-29-2006, 3:52 PM

    Re: Cannot use existing session for user integration

    Ok... but how is this helping.. i loose my session in the inner chat window.. pls see the 2 gray of the following image. one has session and other does not. It looses Session in few seconds!!.

    I am not a flash person. But I belive it boils down to SWF file call where session craps out. Can you pls give me some insight to how/when SWF is calling GetUserUniqueName() method?
    OR
    It has to do with ChatRaneService.... see the following Exception StacK trace:

    ACSChat.Global.GetUserDisplayName(String useruniquename) in c:\inetpub\wwwroot\cutesoft\cutechatplumtreeportlet\global.asax.cs:line 124 at CuteSoft.Chat.DefaultDataProvider.GetUserDisplayName(String useruniquename) at z.GetUserDisplayName(String useruniquename) at CuteSoft.Chat.ChatApiImpl.DoGetUserDisplayName(String uniquename) at CuteSoft.Chat.ChatApiImpl.GetUserDisplayName(String uniquename) at CuteSoft.Chat.UserIdentity.get_DisplayName() at CuteSoft.Chat.ChatService.i() at CuteSoft.Chat.ChatRaneService.Connect(ChatCookie cookie)





    CODE:
    try
                {
                    if (Session["UserID"]!=null)
                    {
                        Response.Write("<BR><BR>I have Session. Time: " + DateTime.Now.ToShortTimeString() + " USER ID: " + Session["UserID"].ToString());
                        return Session["UserID"].ToString();
                    }
                    else
                    {
                        Response.Write("\nI DO NOT have session. Time: " + DateTime.Now.ToShortTimeString());
                        return "Your_APP_lost_the_Session";
                    }
                }
                catch(Exception s)
                {
                    Response.Write("------Error Message: " + s.Message + "--------Stack trace: " + s.StackTrace);
                }
                return null;



View Complete Thread