• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to 'log-out' a user?

 
Jan Sterk
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If someone has authenticated himself with a BASIC log-in dialog, he will stay so in successive requests. Is it possible to dismiss the authentication, e.g. after a time-out or if the user requests so (a log-out button).
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The browser will continue to send the authentication header until it's closed. In that sense, you can't log out. But nothing stops you from invalidating the server session once a user clicks on "log out".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic