On Wednesday 05 March 2003 20:05, you wrote:
> I think its better to keep session data and servlet data seperate. How
> many session variables do you really need compared to servlet variables?

That depends on the situation. I actually use much more session variables 
that servlet variables.

> Also by hiding the session data, uninitiated programmers will end up
> stomping session variables.

Well, the  uninitiated programmers will do lots of things all the time.

> If I have a CountUsers servlet and it also
> has a count variable, it will overwrite the variable used in CountVisits.

If they have the same baseclass and it is configured there that there is a 
session variable count: yes

Stephan
>
> 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


-------------------------------------------------------
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