[Seaside] Logging out from a webpage

Richard K Eng richard.eng at rogers.com
Tue Jul 31 20:48:09 UTC 2007


Actually, I've encountered a strange problem:

    self session expire.

...works fine in IE, but not in any other browser (Firefox, Opera, Safari). 
Why is this???

renderLogoutOn: html
 html div
  class: 'sidebaritem';
  with:
   [html div
    class: 'sbicontent';
    with:
     [html paragraph: [html text: 'Hello ', userFullName fullName].
     html anchor
      callback:
       [self session expire.];
      with: [html paragraph id: 'red'; with: [html strong: 'Logout']]]]

Correct me if I'm wrong, but I think I found a Seaside bug...

Regards,
Richard

----------
Anyway, #expire works quite nicely, so I'll go with that.

Thanks for the tip.

Regards,
Richard



More information about the Seaside mailing list