List Info

Thread: digest_auth logout under 3.0beta




digest_auth logout under 3.0beta
user name
2006-10-19 09:35:00
Is there a hook of some sort in place to provide a logout
facility? I
have had a look around in httpauth, but can't see anything.
It would be desirable for users to be able to logout
themselves and for
the server/application to force logouts. Since digest auth
does not
necessarily use sessions I can't see how it would be done.
I suppose that in principle, the timestamp included in the
hash
provides the possibility for some sort of ageing.

Paul Hide


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

digest_auth logout under 3.0beta
user name
2006-10-19 09:42:16
paulh wrote:
> Is there a hook of some sort in place to provide a
logout facility? I
> have had a look around in httpauth, but can't see
anything.
> It would be desirable for users to be able to logout
themselves and for
> the server/application to force logouts. Since digest
auth does not
> necessarily use sessions I can't see how it would be
done.
> I suppose that in principle, the timestamp included in
the hash
> provides the possibility for some sort of ageing.
> 

There is no such thing sadly. The only way to logout is to
close he
browser so it deletes the digest/basic token it has
temporary stored.

It could have been done if browsers had provided an API to
access the
digest/basic token via Javascript. This is not the case.

We could hack something around this but this could be messy.

- Sylvain

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )