The following is a digest of a discussion on #freenet-chat regarding
multi-user support for Freenet.

A node is uniquely identified by its reference. If there are multiple
local users on a single machine, it would be advantageous for node to
manage each user separately, e.g. users can login into the node. This
would be also an improvement for integration of social stuff.

To manage login-sessions, followings were discussed:

1) Using Cookies
        Session ID is stored in a cookie.

2) Session ID
        Session ID is contained in each URL (see Servlet URL rewriting [1])
3) Global Login
        Session is globally saved (e.g. as configuration in node)

For the plug-in that I'm currently working on, Winterface, I use Jetty
as Servlet container and Wicket as web-framework. According to Servlet
specification [1], if client does not support cookies, the server falls
back into URL rewriting and adds the session ID to each URL. If both
cookies and URL rewriting are disabled on demand, the global login is
used as a last resort.

Thanks,
pausb


[1] http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20120806/77c50028/attachment.pgp>

Reply via email to