[Borges-users] logout button
Eric Hodel
drbrain at segment7.net
Sat Apr 10 20:25:09 EDT 2004
??????? ???????? (slepnev_v at rambler.ru) wrote:
> Hello,
>
> I need a 'logout' button. How do I invalidate an AuthenticatedSession
> manually? Is it even possible? (If the user has one open browser
> window, he can just close it; but if he has several, we need the
> button.) Come to think of it, after we do invalidate the session, the
> user will have to close both the (modal) password prompt and the main
> window, which is bad. (I've tried using basic_auth_do, but it doesn't
> invalidate the authentication after it's finished; and I guess that's
> correct.)
Since its using Basic Auth, I don't think it can be done, unless they
close the browser window. The best way to have them logout is to delete
their session.
On the Seaside list recently was some code to perform form-based logins.
--
Eric Hodel - drbrain at segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/borges-users/attachments/20040410/2617fe20/attachment.bin
More information about the Borges-users
mailing list