This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Aug 9, 2011, 9:10 AM
5 Posts

Log Out

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: End user
  • Tags:
  • Replies: 3
Hi Guys, I have a Log Out facility in my XPage and what will I do to make the current user Log Out in case he clicked that Log Out. Thanks
Aug 9, 2011, 9:13 AM
272 Posts
Re: Log Out
Hi,
 
you can create a link for this and add the parameter logout
The parameter redirectto is the target the user will be redirected if successfully logged out. It can be every target you want, f.e. http://google.de
 
http://www.example.org/path/to/database.nsf?logout&redirectto=/path/to/database.nsf
 
Hope this helps
Sven
Aug 9, 2011, 9:48 AM
5 Posts
Re: Log Out
Thanks for the reply. How about if I wanted the page to be back where the log in page is.
Aug 9, 2011, 10:19 AM
272 Posts
Re: Log Out
whats the url of your login page? This is the url you have to add via the redirectto - parameter.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal