Skip to main content

[archive] Trying to create a timeout

  • December 15, 2010
  • 4 replies
  • 0 views

[Migrated content. Thread originally posted on 15 December 2010]

We want our thin client based application to timeout after a certain time with no activity. I found the TC_CHECK_ALIVE_INTERVAL parameter and set it to 30 (seconds) in the runtime configuration file for a test but it has no effect.

Does anyone know how to make this work?

Regards

Nick

4 replies

[Migrated content. Thread originally posted on 15 December 2010]

We want our thin client based application to timeout after a certain time with no activity. I found the TC_CHECK_ALIVE_INTERVAL parameter and set it to 30 (seconds) in the runtime configuration file for a test but it has no effect.

Does anyone know how to make this work?

Regards

Nick
Have a read at the TC_QUIT_MODE too Nick

[Migrated content. Thread originally posted on 15 December 2010]

We want our thin client based application to timeout after a certain time with no activity. I found the TC_CHECK_ALIVE_INTERVAL parameter and set it to 30 (seconds) in the runtime configuration file for a test but it has no effect.

Does anyone know how to make this work?

Regards

Nick
Thanks Shaun I did that too but setting it to -1, 0, 27 or anything else seems to have no effect

[Migrated content. Thread originally posted on 15 December 2010]

We want our thin client based application to timeout after a certain time with no activity. I found the TC_CHECK_ALIVE_INTERVAL parameter and set it to 30 (seconds) in the runtime configuration file for a test but it has no effect.

Does anyone know how to make this work?

Regards

Nick
Thanks Shaun I did that too but setting it to -1, 0, 27 or anything else seems to have no effect

[Migrated content. Thread originally posted on 15 December 2010]

We want our thin client based application to timeout after a certain time with no activity. I found the TC_CHECK_ALIVE_INTERVAL parameter and set it to 30 (seconds) in the runtime configuration file for a test but it has no effect.

Does anyone know how to make this work?

Regards

Nick
I looked at this several years ago, so its not exactly fresh in the head anymore.
But an exception value greater than zero is what is sent to you program if I remember correctly.
You need to trap the exception in your code.