[opencms-dev] How to log out of opencms

Stephan Hartmann beffe at beffe.de
Mon Feb 18 19:13:24 CET 2002


maybe a login as guest-user or webuser will do the same as a logout.

Bye,
Stephan

-----Ursprüngliche Nachricht-----
Von: Simon Knightley <simon_knightley at yahoo.co.uk>
An: <opencms-dev at www.opencms.com>
Gesendet: Montag, 18. Februar 2002 12:05
Betreff: [opencms-dev] How to log out of opencms


> 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
> http://uk.my.yahoo.com




More information about the opencms-dev mailing list