wood burning stoves*
The moose likes Servlets and the fly likes Session timeout to call ScreenSaver! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session timeout to call ScreenSaver!" Watch "Session timeout to call ScreenSaver!" New topic
Author

Session timeout to call ScreenSaver!

Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
One of the requirements in our new project says:

"After 15 minutes of inactivity the system will time out and the desktop
should lock itself with a password-protected screensaver or similar security mechanism".

We are trying to find out the reason for such a requirement from the business people. In the mean time, I was wondering if it is possible to do this on an IE browser 6.0 running on Windows 2000 machines? We are using Servlets, JSP and EJBs on Weblogic 8.1.
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
BTW, we have also asked the client, if it is OK to set the screen saver timeout to just 15 minutes on the individual client machines. (and at the back-end side, set the session timeout to 15 mts!).
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


We are trying to find out the reason for such a requirement from the business people

This is where your effort needs to go. You can't muck around with a client machine's settings via any of the technologies you mention.

The might be a way of doing it via ActiveX. But I think this is one of these cases where you need to consider what you can do and how that differes from what you should do. If a site did this to my machine, I'd never visit it again.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

It's always interesting to read requirements written by people who haven't the faintest idea how the technology they're writing for works AND never bother to bring someone who does into the conversation while they're writing them.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
Well, if your project is using XP (extreme programming, not Windows XP), then all you have to do is estimate how much work it will take to implement their requirements exactly as they ask. Break the requirement up into smaller stories and isolate the "screensaver" requirement piece. I would think that once they see how much it's going to cost them for this part of the requirements, they'll rethink things a bit. If they still want to do it, I would ask "Why stop there? Why don't we just shutdown their machine or reformat their hard drive for them while we're at it?"


James Carman, President<br />Carman Consulting, Inc.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Well, the time needed to implement the screensaver activation to coincide with the session timeout would be infinite

Whenever I've gotten such requirements I've always simply refused to accept them based on technical impossibility. If your technical expertise is accepted in your company they should accept your judgement in such calls.


42
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Originally posted by Jeroen Wenting:
Well, the time needed to implement the screensaver activation to coincide with the session timeout would be infinite

Whenever I've gotten such requirements I've always simply refused to accept them based on technical impossibility. If your technical expertise is accepted in your company they should accept your judgement in such calls.


And everyone accepts your judgement Jeroen. :roll:

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
If you're the person hired as the expert they do
That's the advantage of working as a consultant
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
The solution that we have proposed is to set the individual PC's Screensaver timeout to 15 minutes manually for all machines. The session timeout for the application to 1 hr.

The other option is not to implement this at all. We haven't heard from the busines team yet.Will let you know how it goes.

Thanks Everyone!. (in particular, Jeroen )
You mentioned consultant, that reminds of this joke.
Yuppie and the Farmer
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
The timeout can be set on the individual machines using a central script executed using the Windows script scheduler. If you include it in the login scripts for the individual users it gets set whenever someone logs on to a machine.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

Originally posted by Jeroen Wenting:
If you're the person hired as the expert they do
That's the advantage of working as a consultant


Which leads us to

this post.

Mark
Vishwa Kumba
Ranch Hand

Joined: Aug 27, 2003
Posts: 1064
Just wanted to let you know, that the requirement has been removed from the project.

thanks,
Vish
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

Originally posted by Vishwa Kumba:
Just wanted to let you know, that the requirement has been removed from the project.

thanks,
Vish


Good.


Groovy
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session timeout to call ScreenSaver!
 
Similar Threads
LIKE a screensaver??????
Making laptops transparent
Big Moose as screensaver
screensaver in J2ME
applet security