ldoodle
10-10-2003, 08:58 AM
Is there a way I can bring up the normal windows Log Off prompt using Javascript (as if users have pressed Start > Log Off)?
Cheers/...
Cheers/...
|
Click to See Complete Forum and Search --> : Logoff ldoodle 10-10-2003, 08:58 AM Is there a way I can bring up the normal windows Log Off prompt using Javascript (as if users have pressed Start > Log Off)? Cheers/... Shampie 10-10-2003, 10:14 AM I do hope you have no bad intentions with doing so. Javascript is 'in browser' only and cannot perform the action you seek to do, this would be a serious security leak if you would be able to execute such a command with js. jbergthorson 10-10-2003, 10:17 AM what if you created a signed applet that took up 1x1 pixels in the bottom corner... then you can do pretty much anything i think. It has to be signed though and the user has to accept the certificate... dunno if that is a problem or not, nor do i know for sure if you can log someone off, but i would think it is do-able. Kind of a real pain and a stretch, but if it is really important that you do this logoff thing, then it's worth a try. Shampie 10-10-2003, 10:21 AM Do not mixup javascript with java, they are not the same. JS cannot perform you request. jbergthorson 10-10-2003, 10:29 AM i'm not... i know js can't do what he wants... that is why i said use an applet which is java and if it is signed it can run system commands on the user's pc ;) webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |