Hi Guys,
I am using the LogoutForm from the example application.
It has the option "Are you sure you wish to log-out? Please click "YES" to log-out"
The two options buttons are defined by Generate From, Start
p_web.site.SaveButton.TextValue = 'Yes'
p_web.site.CancelButton.TextValue = 'No'
In ValidateUpdate, End, the following code logs out the user session;
p_web.SetSessionLoggedIn(0)
How do I add a condition to the logout code, NOT logout should the user select 'NO' ?
p_web.SetSessionLoggedIn(0)
Thanks
Rupert