Expand my Community achievements bar.

SOLVED

How to set session timeout

Avatar

Level 2

Hi All

 

I want to know how to set session timeout.

I tried to set security session timeout in operator menu and changed server-config.xml in server.

But It didn't work.. 

 

Please could someone help!

 

Regards

byungho

 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @bhjeong ,

 

Setting sessionTimeout works for SOAP request for an API call with sessionToken.

 

Thanks,

Jyoti

View solution in original post

10 Replies

Avatar

Community Advisor

Hi @bhjeong ,

 

You need to define value in serverConf.xml file.

There are two parameters under authentication node:

1) longSessionTimeOutSec

2) sessionTimeOutSec

 

Define values in these parameter and then test.

 

Thanks,

Jyoti

 

Avatar

Level 2

Hi jyoti

 

I defined value in serverConf.xml.

but not work properly.

 

The user account was not logged out even though the set session time exceeded.

 

Thanks,

byungho

Avatar

Community Advisor

Hi @bhjeong ,

 

Did you restarted the server ?

 

Thanks,

Jyoti

Avatar

Community Advisor

Hi @bhjeong ,

 

Are you able to configure 'sessionTimeout'?

 

Thanks,

Jyoti

Avatar

Level 2

Hi @Jyoti_Yadav 

 

Thank you for your help.

I configured 'sessionTimeout' at serverConf.xml 

I changed the values from AS-is to To-be (below image)

MicrosoftTeams-image (6).png

 

 

 

 

 

 

 

 

Should I need to configure more something?

 

Thanks,

byungho

 

Avatar

Community Advisor

Hi @bhjeong ,

 

That's it. It will work.

 

Thanks,

Jyoti

Avatar

Level 2

Hi @Jyoti_Yadav 

 

I may have misunderstood the function.

what function is a sessionTimeout?

I expect that if sessionTimeout is exceed, a user is automatically logged out.

 

Thanks,

byungho

Avatar

Correct answer by
Community Advisor

Hi @bhjeong ,

 

Setting sessionTimeout works for SOAP request for an API call with sessionToken.

 

Thanks,

Jyoti

Avatar

Level 2

Hi. @Jyoti_Yadav 

 

I misunderstood the sessionTimeout fuction.

Thank you for your help.

 

Enjoy Holiday!

 

Thanks,

byungho