Hi Rick,
I am using UserSecurity authentication mode. It's working. However, I just noticed something odd that has me stumped. When I use THIS.InitSession() with no parameters, the Logout function works and the current user is logged out when I click on the Sign Out option. But if I use THIS.InitSession("PPDMSWeb",1800,.F.), the Logout() function is called, but the current user is NOT logged out. Any idea why this is happening? I'm sure I'm doing something wrong, just not sure what.
With this approach, the Logout.ppw function DOES NOT WORK.
*THIS.InitSession("PPDMSWeb",1800,.T.)With this approach, the Logout.ppw DOES WORK!
THIS.InitSession()
Thanks,
Steve
Hmmm... there was some work done on this recently and now I'm wondering if something there is breaking. The recent fix was to ensure new cookies are being created for permanent sessions (ie the .t. parameter) when none exist. That means a new Cookie is created, but in theory at least that cookie should no longer be associated with any account information.
I have to check that specific scenario and review...
Are you on the latest version (8.4) as there were changes in the previous 8.2/3 release, which then fixed a few related issues in 3.4.
+++ Rick ---