Close OPC UA Server session|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Close OPC UA Server session
Avatar
OPCUA USER
Member
Members
Forum Posts: 53
Member Since:
01/07/2022
sp_UserOfflineSmall Offline
1
05/29/2024 - 01:32
sp_Permalink sp_Print

I have developed OPC UA SERVER application using CSharp(C#) language.

My requirement is:

OPCUA server shall close an established TCP connection when OPC UA client is seen as inactive during a configurable period time.

I have configured the server session timeout in OPC UA Server config file (60 sec)

<MinSessionTimeout>1000</MinSessionTimeout>
<MaxSessionTimeout>60000</MaxSessionTimeout>

But when I disconnect the server from client, the session is closing immediately. it is not waiting till 1 minute.

How to handle it?

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 31
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855