Jump to content
  • 0

Creating a logout button


el wretcho
 Share

Question

Firstly, congratulations on the ease with which web user authentication can be set up. Very easy, very quick. However, am I missing something when it comes to logging out? It seems that the only way to log out of a Caspio Bridge app is to close the browser. I can, apparently, set a time limit on the sessions, but I need my users to have more flexibility than this.

I need a prominent logout button available on most of the html pages. I need users to be able to logout of the application quickly and securely, but I can't expect them to close their browsers. They are likely to have other web apps open.

How can I provide a selectable logout button or link?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi,

Thank you for your feedback, you can find the logout link (URL) in the authentication wizard (see the attachment). You just need to copy the link and paste it in the header/footer or HTML block of your DataPage or any other place in your HTML page source as below:

Logout

Best,

Bahar M.

Link to comment
Share on other sites

  • 0

I know this original question is old, but newbie here.

This functionality does not seem to be working properly.  I have been able to get the logout button to show up, but after clicking on it, a new web browser tab opens with the login screen again.  The original window screen stays open, which is still logged in. 

What is the correct code needed to log out, but not open a new browser tab?  Here is the code I am currently using : <a href="http://b6.caspio.com/folderlogout/">Logout</a>
 

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...