Reputation: 13
I'm a newbie in XPages und I try to learn.. ;-)
I use a timeout to logout the user and to redirect to the login site ($$LoginUserForm).
URL + "?Logout&redirectto=" + Url + "?opendatabase&login";
Got it form the site and Notesin9. text
And I set the XPage Cache-Control to no-store to prevent the user to go back.
As described here. text
This works fine so far.
What I'd like to do is ...
Set the field reasontype in my $$LoginUserForm to "3" which means the login is expired.
Is it possible to use a html command (as shown above) to set a field in the $$LoginUserForm?
Kind regards Sebastian
Upvotes: 0
Views: 114
Reputation: 3484
In Domino 12 and newer you need to add the Notes.ini parameter DOMINO_RELAY_COOKIE_SAMESITE=0 Otherwise the redirectto doesn't work.
Upvotes: 0
Reputation: 3484
You can always read the querystring of a HTML form add add the information as default value into a field.
Using @Formula @URLQuerystring("redirectto") to get the redirectto param into a field.
Upvotes: 0