Hi Rick,
I need to increase the Session Timeout from the default 30 minutes for a particular process. The InitSession indicates all the parms are optional. Will this work for only increasing the timeout parm? Or, is there a different syntax for only specifying a custom timeout parm?
THIS.InitSession(,28800)
I have found that if I use this: THIS.InitSession("PPDMSWeb,1800,.T.), the Logout.ppw (logout process) does not work. However, when I use THIS.InitSession() with no parameters, the logout process works fine. So, I am trying to increase the timeout setting without breaking the logout function. Actually, I just tried THIS.InitSession(,28800) and the logout process worked correctly. So, now I need to confirm the timeout parm is getting set.
Thanks,
Steve
Make sure you're using the latest version (v8.4) - there was a bug fix recently that addressed session timeout issues.
+++ Rick ---
Hi Rick,
Yes, I am using v8.4
I have found that if I use this: THIS.InitSession("PPDMSWeb,1800,.T.), the Logout.ppw (logout process) does not work.
Logout is something that you have to implement yourself typically (unless you use the User Manager process class). It should call Process.Authenticate("LOGOUT") which deletes the session entry and zeros out the local session. Make sure that's what you're calling and you're exiting from that code and don't run something else in that same request that recreates the session.
+++ Rick ---