Naming sessions and need for more than 35 unique names

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Naming sessions and need for more than 35 unique names

Post by kevinh »

In version 2.1.1 it is mentioned:
The session controller can automatically generate "suffixed" workstation ids when the "workstnid" and "suffixid" query string parameters are used. Similar to "Avoid duplicate names with other workstations" option in Client Access.
I found a .pdf Rob posted (http://www.profoundlogic.com/forums/php ... UNDUI#p717) with instructions on passing these parms on the session start URL.

The pdf states that using the suffix option will only create unique session names adding 1-9 and A-Z to the end of the value passed for the workstation id, making possible 35 unique session names.

Has this been expanded since version 2.1.1? We need the ability for at least a three digit number or letter combinations that would give us 200 or more unique names. Ideally we want all sessions to start with the same value then have a unique suffix (like IBM does with QPADEV0001, QPADEV000A, etc.) and some of our installs have more than 100 users.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Naming sessions and need for more than 35 unique names

Post by Scott Klement »

Hi Kevin,

Yes, it's still limited to 35 names at this time. The current documentation can be found here:
http://www.profoundlogic.com/docs/displ ... ion+ID%27s

One option you could consider is allowing duplicate names. With this option enabled, job names can be the same across multiple ProfoundUI sessions, so running out of names is not as much of a problem.

Would that help you?

You can do that in ProfoundUI sessions because there's no corresponding device description -- it's just a web server job. But, this option isn't available in Genie, which uses actual device IDs.

Let me know if you can just enable duplicate IDs, or if you have a real need for unique IDs for each user.
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: Naming sessions and need for more than 35 unique names

Post by RussCraig »

We ran into a similar issue. Here is how we resolved it:

We created a link on our website pointing to this file. It generates a random workstation ID from 00-99 and also enables the suffixid, thus giving us 3500(?) total possible ID's. I'm sure there's a more elegant way to do it that would ensure no duplicates are created, and you could always reduce the workstnid prefix and increase the random number length if you needed more. Hope this helps.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link href="/profoundui/proddata/css/profoundui.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="/profoundui/proddata/js/runtime.js"></script> 
  <title>Your Site Title</title>
  <script type="text/javascript">
    var rnd = (Math.floor(Math.random()*99))
    window.onload = function() { pui.run({
      "program": "YOURLIB/YOURPGM",
      "workstnid": "PUIWEB" + rnd,
      "suffixid": "1"
    }) };
  </script>
</head>
<body>
  <div id="pui">
  </div>
</body>
</html>
I believe you could also point the "program" to the default ProfoundUI start program and it would work as well. I had coded my own user/login system which is an anonymous program so I did it this way.
There are 10 types of people in this world: Those who understand binary and those who don't.
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Re: Naming sessions and need for more than 35 unique names

Post by kevinh »

Scott - we do have a need for each session name to be unqiue as some of our programs and workfiles expect a unique job/device name.

Russ - when I posted this issue I had our web team take a look and they came up with something very similar (great minds think alike:)
By generating the workstnid value in a separate java script and placing it in the custom/js directory the script it is getting picked up by the start.html page and when someone accesses the :8080/profoundui/start URL it gets the workstnid and suffixid added automatically without user intervention. So far this is working well for us.

Profound Support - Not sure why I'm not getting emails on updates to this thread as I am subscribed to it. What domain is used as the sender on these emails and I'll have someone check our filters if you'll check on this as well?

Thanks to all.
User avatar
Brian
Profound Logic Staff Member
Posts: 286
Joined: Thu Apr 14, 2011 10:23 am
First Name: Brian
Last Name: May
Company Name: Profound Logic Software
Contact:

Re: Naming sessions and need for more than 35 unique names

Post by Brian »

Kevin,

The notification should be coming from profoundlogic.com. I have been having an issue with email notifications from the forum going out inconsistently. I am looking in to a solution.
kevinh
Profound User
Posts: 43
Joined: Tue May 19, 2009 4:31 pm
First Name: Kevin
Last Name: Hunter
Company Name: Integrated Corporate Solutions
Phone: 2567608239
Address 1: 501 S Wood Ave
City: Florence
State / Province: Alabama
Zip / Postal Code: 35630
Country: United States
Location: Florence Alabama
Contact:

Re: Naming sessions and need for more than 35 unique names

Post by kevinh »

Brian wrote:Kevin,

The notification should be coming from profoundlogic.com. I have been having an issue with email notifications from the forum going out inconsistently. I am looking in to a solution.
As for this issue our email filters had these emails held up. We have that corrected now.
cimbala
New User
Posts: 9
Joined: Wed May 22, 2013 8:09 am
First Name: Andre
Last Name: Cimbal
Company Name: Dirk Rossmann GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Naming sessions and need for more than 35 unique names

Post by cimbala »

Hi,

we need urgent more than 35 Sessions with an unique name and the name must start with "PUIDEV". What can we do?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Naming sessions and need for more than 35 unique names

Post by Scott Klement »

We currently support only 35 unique names per session. (Per URL, really.)

If you explain what you'd like to use these for, maybe I can suggest an alternative.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests