[opencms-dev] How to log out of opencms

Simon Knightley simon_knightley at yahoo.co.uk
Mon Feb 18 12:05:25 CET 2002

I use the following code to log someone into my
opencms site:

username = cms.loginUser(name,pass);
user = cms.readUser(username);

I also want to log them off when then click a button,
but I cannot find anything in the API to do this.
Opening the opencms system login page in another
browser does the job, but this is hardly practical.

Ideally I need:
dummy = cms.logoutUser(name);

Any ideas?

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts

More information about the opencms-dev mailing list