WebXMPPBlackHole
From XMPP Wiki
Problem
- XMPP and websockets promises so much. People should be building awesome webapps using XMPP for driving a dynamic app. But:
- sessions time out
- user passwords have to be stored client side
An ideal solution
- users can return to a website they used on their own laptop after a few days and are automatically logged in
notes
Do stuff here.
XMPP over WebSocket
sharing sessions across browser windows / tabs
198-enabled session on server side and resume on client side/
or use EXTERNAL based on TLS session
or ticket from XMPP server
problem
store username and passsowrd on the client
want to auth with account on different websites
want steady session that comes back when you reopen the tab
generate a prebinding token?
two-tab problem is separate from the reload problem
cross-tab communication in browser (W3C spec for messaging?) http://dev.w3.org/html5/postmsg/ ?
use that as transport for communication about which tab is auth'd etc.