I think its better to keep session data and servlet data seperate. How many session variables do you really need compared to servlet variables?
Also by hiding the session data, uninitiated programmers will end up stomping session variables. If I have a CountUsers servlet and it also has a count variable, it will overwrite the variable used in CountVisits.


Stephan Diehl wrote:

Instead of using session data (or request data for that matter) in the usual way, I'd rather have some magic involved to let me use this data as normal servlet attributes.



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to