Hello,

It occurred to me yesterday that, despite having listed sessions as a feature 
of Webware in my Web Modules Overview page [1], I wasn't clear on how they 
could be created or manipulated in Webware, or on their advantages and 
disadvantages. This is mainly due to the fact that I haven't experimented with 
them at all.

In the Java Servlet API, it seems like an interface is provided 
(javax.servlet.http.HttpSession) which is supposed to be implemented by a class 
providing generic session functionality through the use of cookies and/or URL 
rewriting (or whatever). I can't seem to find any mention of a similar thing in 
the documentation, although I do remember that there is a session example which 
comes with WebKit, but I think it only uses cookies.

What is everyone's position on sessions? Are there any good ways of offering 
cookie-based/cookie-free sessions in Webware where the mechanism employed is 
done so "transparently" to the application? Should this be documented more 
clearly?

Part of the reason I ask such questions is that in the XMLForms package, the 
framework attempts to push all active data in an application back to the 
client, and this would naturally include any session identifier. Indeed, the 
session identifier would be maintained invisibly to parts of an application not 
making use of it.

I see one advantage of this system being the avoidance of any need to store 
session information on the server, and to be obliged to implement session 
timeouts - I hate visiting Web sites where my session expires after five 
minutes just because I had to respond to an e-mail.

Of course, simple persistence to disk or database is something I wouldn't mind 
adding as well, but this is probably more interesting for applications which 
have registered users.

Anyway, does anyone have any advice or experiences that they want to share on 
this subject?

Regards,

Paul

[1] http://www.paul.boddie.net/Python/web_modules.html

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to