 Rank: Member Joined: 3/10/2011(UTC) Posts: 11 Location: UK
|
Hi,
I work in the IT sector and we have an Access 2007 database that runs our business.
On our database we have a case list for support cases opened for our clients.
I currently have a button that, when clicked, will open the host page of screen connect and copy the case ref. number from the database so that it can be pasted into the invitation code on the site.
I would like to remove a step and have the database create the session automatically.
Is there some way that this can be done either by a script, query string or command line etc.?
Any help would be great
|
|
|
|
 Rank: Member Joined: 3/10/2011(UTC) Posts: 11 Location: UK
|
UPDATE:
I managed to mutilate someone elses code to do a similar thing to what i was looking for but now i would like to be able to auto join this session too. the code that i am using is below
<%@ WebHandler Language="C#" Class="CreateSession" %>
using System; using System.Web;
public class CreateSession : IHttpHandler { public void ProcessRequest(HttpContext context) { var sessionCode = context.Request.QueryString["Code"]; var Username= context.Request.QueryString["UserName"]; using (var sessionManager = Elsinore.ScreenConnect.ServerExtensions.SessionManagerChannelFactory.CreateChannel()) { sessionManager.CreateSession(Elsinore.ScreenConnect.InvitationType.Code, sessionCode, Username); }
context.Response.Redirect("Host.aspx"); }
public bool IsReusable { get { return false; } } }
|
|
|
|
 Rank: Administration Medals:  Joined: 4/9/2010(UTC) Posts: 2,061
Thanks: 1 times Was thanked: 393 time(s) in 188 post(s)
|
|
ScreenConnect Team |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.