Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7558129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:17:41+00:00 2026-05-30T12:17:41+00:00

Excel AddIn using Add-In express, VS2010, cometd.net talks to cometd server and Tom cat

  • 0

Excel AddIn using Add-In express, VS2010, cometd.net talks to cometd server and Tom cat
In RTDInitialize event handler, I log in Tom Cat and connect to cometd server, I use an instance of class credential to remember it is loggedOn(set IsLoggedOn to true) and sessionID.

In RefreshData handler of topic, I will register to cometd server if not register yet. Then I will subscribe topic to Tom Cat. Now when users delete the RTD function from Excel,
DisconnectData handler is called, in it I disconnect from cometd server, logout from Tom Cat, clear out sessionID.
Next time, when users enter RTD function again, it will call RTDInitialize event handler, login and connect where IsLoggoned set to true and sessionID is updated. The strange thing is after 2nd time login, in refreshData, I check the credentials, IsLogged becomes false and sessionID is empty just like what it was at first logout. Anyone know why? not sure if I make it clear. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:17:42+00:00Added an answer on May 30, 2026 at 12:17 pm

    I suppose you have just one topic in your tests. I suppose that you store a reference to the “instance of class credential” on the class level of the RTD server module. And when you delete the topic, the RTD server module is destroyed; this kills the information about previous connection. If you think that I misunderstood the problem, please clarify.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've written an Microsoft Excel add-in in .NET using Add-in Express , and deployed
I'm writing an Excel Addin using COM Interop from .net. I have a command
We have an Excel AddIn say A written in C#, Add-In Express. The installer
I'm using CruiseControl.NET with MSTest to build my Excel add-in. Some of my tests
I am developing an add-in for Microsoft Excel, using Visual Studio .NET 2008. The
I'm endeavoring to write an Excel 2010 application add-in using .NET 4 and VS
I'm developing an Excel 2007 add-in using Visual Studio Tools for Office (2008). I
I am currently building an Excel 2007 Add-in using VSTO (latest version + sp1)
I'm using Delphi to make an XLL add-in for Excel, which involves making a
I am using VSTO to create an Excel add-in. My plan is to persist

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.