To 'close' an application in order to do configurations, I'd like to log out all users. Judging by this forum post, it can be done with OnBeginWebRequest. However, we have a Reactive Web App in which I can't find this server action. I also can't find any actions related to sessions.
How can I log out all users on a reactive web app then?
Hi Amol,
I went for the 'OnInitiate' approach of the UserInfo webblock indeed (combined with checking the value of a Site Property). So not the ideal solution, but it worked.
Hello Remco Snijders,
I was thinking about your question, and developed the attached method.In this example I developed two actions and a site proprertie.- The site proprertie serves to indicate the date that each user has to login again. Without this, users would be in a loop to log out.- An action to logout- An Action to check if the user has to log out.
Rui Mendes wrote:
Hi Rui,
Thanks for taking the time to set this up. For now I want for the 'OnInitiate' approach of the UserInfo webblock indeed (combined with checking the value of a Site Property).
The downside is that a lot of interaction happens inside one page and the webblock is not re-rendered while you stay on that page. Therefore I was hoping for a OnBeginWebRequest equivalent.
Hi Remco,
Is this query resolved? If so, what was the solution used?