[Bese-devel] Logout in UCW

Antonio Menezes Leitao aml at gia.ist.utl.pt
Wed Jun 1 16:08:45 UTC 2005


Hi,

I would like to know what is the best way to implement a logout action
in UCW. My idea is that I should delete the current session and
present the login component again but I'm unsure about the best way of
doing it.  Currently, I'm doing the following:

(defaction logout ((w foo-window)) 
  (delete-session (context.application *context*)
                  (context.session *context*))
  (call 'login))

Is this OK? Is there a better way (maybe choosing the login entry
point for the application)?

Best regards,

António Leitão.



More information about the bese-devel mailing list