Follow us on LinkedIn Find us on YouTube
home recent topics recent posts search faq  

Devolutions inc. > Forum

user:
psw:
| register | lost password   open id
Messages in this topic - RSS

Home » Remote Desktop Manager - SDK » Session Management

Remote Desktop Manager - AddOn development forum
3/18/2011 7:38:58 AM

smerchant
smerchant
Posts: 2
David,
I am not sure if this is possible in the current SDK. But I am trying to write a windows service that will manage the session list in RDM. We have a global server database we use as our central repository. Instead of manually importing (only new items) daily, I would like to have the ability to manage those sessions automatically on a scheduled basis. Here is what I have done so far.

I couldn't figure out a way to manage them in the SDK so I created a workaround. I manage those sessions on the fly by updating the back end SQL database and creating/deleting records in your Connections table. Its works great, my issue is that if I edit any of those sessions from RDM, RDM will duplicate the session. I assume I am missing a critical step. Can you help?

BTW, if I can get this working, I plan on buying this solution for my entire server team. We manage close to 1k servers in our business unit.

My sample XML in the connections table.


<?xml version="1.0"?>
<Connection>
<Cmd />
<ConnectionType>RDPConfigured</ConnectionType>
<CreatedBy>YingYang</CreatedBy>
<CreationDateTime>2011-03-18T09:03:22.303333-05:00</CreationDateTime>
<Events />
<Group>AppName</Group>
<GroupTab />
<ID>e11ba7be-f15d-4259-9a29-c3d5c845151e</ID>
<MetaInformation />
<Name>MyServer</Name>
<OpenEmbedded>true</OpenEmbedded>
<RDP />
<Stamp>c997622f-f931-4134-b367-5b59b797f542</Stamp>
<Url>MyServer</Url>
</Connection>


I assume it has something to do with the stamp or id field. I use new guid to create those values.
0 permalink
3/18/2011 7:53:42 AM

David Hervieux
David Hervieux
Administrator
Posts: 4241
Hi,
You got it, you use a new Guid and this is the problem. Try to reuse the Guid as your primary key and this should work fine. You must keep the ID in the XML and the ID in the database in Sync.

By the way, there is nothing in the SDK to help you with that.

--
David Hervieux
Devolutions inc.


0 permalink
3/18/2011 8:05:29 AM

smerchant
smerchant
Posts: 2
Awesome, will try. Also By any chance do you have a list of the fields that go into the XML? I want to populate as much data as possible from our global db.
0 permalink
9/4/2011 11:45:14 PM

john nilson
john nilson
Posts: 1
Is it possible to use timer with SDK for session management?

--
pet movers
0 permalink

Home » Remote Desktop Manager - SDK » Session Management





Powered by Jitbit Forum 7.0.4.0 © 2006-2011 Jitbit Software