Is there a way to automatically log a user out when they close the browser.
Currently, they submit the form which will take them to a page where they have a link for logout. Click on the logout link and they will be logged out.
But if they close the browser without clicking the logout link,next time they open the form it will open the form automatically without authentication screen.
Problem is, one user might just close the form without logging out and the next user came in and try the form straight away and it will open the previous user's form.
I have now put the time out to the lowest time available which is 15 minutes. But that doesn't help. Users could just login check the form and close the screen
OR
submit the form and close the next browser without clicking logout.
And the next user might just use the same computer straight away and go to the form within that 15 minutes. Thus getting the form going directly to previous user's details.
What I wud prefer is when they close the browser automatically log them out of the account
OR
when they close the window without logging out ask the question (on a pop up message) do you want to logout?
OR
to embed the user details in the url to the caspio form. (becos the link to Caspio form sits in a site where the user uses the same authentication details.
Would prefer the 1st or 2nd option, but if not possible the 3rd option.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
BinJSa
Is there a way to automatically log a user out when they close the browser.
Currently, they submit the form which will take them to a page where they have a link for logout. Click on the logout link and they will be logged out.
But if they close the browser without clicking the logout link,next time they open the form it will open the form automatically without authentication screen.
Problem is, one user might just close the form without logging out and the next user came in and try the form straight away and it will open the previous user's form.
I have now put the time out to the lowest time available which is 15 minutes. But that doesn't help. Users could just login check the form and close the screen
OR
submit the form and close the next browser without clicking logout.
And the next user might just use the same computer straight away and go to the form within that 15 minutes. Thus getting the form going directly to previous user's details.
What I wud prefer is when they close the browser automatically log them out of the account
OR
when they close the window without logging out ask the question (on a pop up message) do you want to logout?
OR
to embed the user details in the url to the caspio form. (becos the link to Caspio form sits in a site where the user uses the same authentication details.
Would prefer the 1st or 2nd option, but if not possible the 3rd option.
Any help is highly appreciated.
Thanks
BinJ
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.