Ben Parker wrote:
> The SessionStore initialization seems a bit more complicated than it 
> needs to be. Rather than the for loop, and the prefix/suffix check, you 
> can check if the setting is 'Memory', 'File', or 'Dynamic'. Otherwise 
> everyone with a custom SessionStore needs to follow the SessionXxxxStore 
> naming convention needlessly.

That's why I had the loop, it checked first for SessionNameStore and 
then for Name only, so you could either follow the convention or use 
your own name. But you're right - I have reimplemented it as suggested 
for better compliance with the KISS principle. Looks much better now.

-- Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Webware-devel mailing list
Webware-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to