Hello,
please I need help !
my users sometimes must logout from the App und re-login with another account. I have a Logout button in a frame wich reloads the Login Page via URL call. The Relaunch of hte LoginPage works fine. But where to place the logout code ? And how to clear the Login Vars (have always the content of the previous Login) ?
p_web.SetSessionValue( 'Loc:Login', '')
p_web.SetSessionValue( 'Loc:Password', '')
p_web.DeleteSessionValue( 'loc:login')
p_web.DeleteSessionValue( 'loc:password')
p_web.SetSessionLoggedIn( false)
p_web.DeleteSession()
I tried a lot of places, I thought %CustomValidateEnd of the Logout Button would be correct... I cleared and SetSessionValue to '' or DeleteSessionValue immediatly after a successful Login would clear the Login Vars for a Relaunch... no it doesnt.
Any help appreciated.
TIA, Thomas