1. mathews rutto
  2. PowerServer
  3. Tuesday, 30 July 2024 12:55 PM UTC

Hi,

 

Is there a way when the session expires instead of the below error it redirects to the login window?

Accepted Answer
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 30 July 2024 14:08 PM UTC
  2. PowerServer
  3. # Permalink

Hi Matthews,

You will need to catch that error in the systemerror event to show the dialog yourself. Please see the following documentation page:

https://docs.appeon.com/ps2022r3/capture_session_related_errors.html

 

Hope this helps.

 

Regards,
Francisco

 

Comment
  1. mathews rutto
  2. Tuesday, 6 August 2024 04:13 AM UTC
Thank you i an helped.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 6 August 2024 13:36 PM UTC
Hi Mathews;

If you look at the STD Framework's OrderEntry Demo App it handles the session, PS errors and PS failover.

The framework is free & the demo app can be downloaded from here if your interested at looking at the code & approach ...

https://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry

HTH

Regards .. Chris
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.