[Seaside] Best way to logout

Oleg Richards orichards at mail.ru
Thu Sep 6 15:22:45 UTC 2007


Hello!

There is my another question:
I have my entrance task (SOEntrance). It just displays login  
component and if it answers not nil
calls main application component (SOMain). I would like to make a  
logout: Is it good to just do following
on SOMain logout method: self call: SOEntrance new.  It works, but is  
there a better way to do it. Is it safe to use
this way, because i think that my SOMain is waiting for answer from  
SOEntrance and will never get it. Can it be better to just
clean all session info and redirect to main page. If yes, how to do it?


Cheers, Oleg


More information about the seaside mailing list