Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

keep alive connection

Former Member
0 Likes
990

Hi,

I write a report that works on a lot of data and when it starts, it takes about an hour or two for processing. The problem is that on the system there is a timout of 20 minutes of inactivity after which the use il logged out.

The question is: is there a way by code to advise a sort of keep alive so that user is not logged out?

(I can't change the timeout on the system for security issues)

Thanks

Gabriele

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
920

When you schedule in Background .... its not neccasary for the user to be logged in .. the job will execute irrespective of user login ...

Thanks,

Adi

5 REPLIES 5
Read only

Former Member
0 Likes
920

You can execute the report in background .... u still can see the output as a spool ...

Thanks,

Adi

Read only

0 Likes
920

the problem is not that process is in foreground or background: the problem is the timeout: I need to avoid timeout, because the idea is to launch the report and then go out for lunch So I need to find a way in the code to advise the system that user has not to be logged out.

Thanks

Gabriele

Read only

0 Likes
920

If you run it in the background, it doesn't matter if the user gets logged out.

rob

Read only

Former Member
0 Likes
921

When you schedule in Background .... its not neccasary for the user to be logged in .. the job will execute irrespective of user login ...

Thanks,

Adi

Read only

0 Likes
920

thanks .. the problem is solved in this way