Please consider registering

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Session Count
May 5, 2017
13:39, EEST
Forum Posts: 16
Member Since:
November 2, 2016
sp_UserOfflineSmall Offline

Hi all,
I have been testing my Ua client with simulation server. I have developed a GUI for my client, I am facing a problem like whenever I am trying to read a value from the server a new session is created on the server.I guess normally it should create a single session until the client disconnects from the server, is it like that?

How Can we create a single session for my client (until I restart the client)?. so that I can read values n number of times in a single session!

As i noticed the server can hold only 50 sessions, then the Client program shows error. What will be the session count for the real time server?

May 5, 2017
14:21, EEST
Bjarne Boström
Forum Posts: 983
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


Yes normally you do multiple operations per session. Please read OPC UA Specification part 1 for the general concepts.

You did not mention which SDK you are using to develop your client? Assuming our Java SDK, then please see the SampleConsoleClient example.

Max number of concurrently active sessions depends on the server. For simulation server this number is currently 50.

– Bjarne

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 697

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1470

Posts: 6268

Newest Members:

luzescobedo63, liliana81q, MinniePries, 42or, kaisa, sonbranson085, Pedromon, dalevine155279, Tailor, BetseyJep

Moderators: Jouni Aro: 1012, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 323, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1