cancel
Showing results for 
Search instead for 
Did you mean: 

Action handler for timeout session

Former Member
0 Kudos

Hi experts,

When any web dynpro application stays inactive for a long time its session gets ended. When you want to access it you will get a error like The following error text was processed in the system ECN : User session (HTTP/SMTP/..) closed after timeout .

Any idea how to catch this event i.e. when it is getting timedout?

Thanks & Regards,

Monishankar C

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Try using a Timed Trigger UI element.

Set your delay time in the properties.It has a 'Onaction' event, which gets triggered after the delay is elapsed.

Catch the event and proceed as you want...Probably an different view with a error message.

Thanks,

Aditya.

Former Member
0 Kudos

Hi Aditya ,

I have created a ui element 'Timed Trigger' in my view and also created a action. Now i have put a debugger in that and executed my application. After some time the user session is get closed when i have tried use the application but the debugger not popped up.

So how can i come to know this action has been triggered.

Thanks & Regards,

Monishankar C

Former Member
0 Kudos

HI ,

What is the delay you have given?

Try giving a smaller delay like 5s and check if debugger stops for you.

Or else, in the action, navigate to another view so that you will know if the action is triggered after the time out has elasped.

Thanks,

Aditya.

Former Member
0 Kudos

Hi,

Sorry for late reply. Its working . thanks for your suggestion.

Thanks & Regards,

Monishankar C