Have you ever struggled to provide a quick & easy logout link for your XPage-based web site? There are many JavaScript (both Server-Side and Client-Side) solutions, but this is, what works best for me, and its the simplest, plain solution i could come up with:
Just put "./?logout" in your link text, and you are done!
For convenience, you can easily add "&redirectTo=yourFavouriteSite", or compute that part.
No comments:
Post a Comment