I'd like to run a script from the command line to look at sessions (we use
File as the storage for sessions), but I'm a tiny bit stuck. I know how to
do it from a servlet, because the servlet already has enough context to do
something like:

   self.application().sessions().keys()

But I am blanking out on how to create sufficient context in a script
running outside of the application server to be able to do that.

I'd be grateful for a code snippet, an example script, or just an idea of
where to look for more information.

Thanks, and
Cheers!
--
David Hancock


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to