|
-
Jan 2nd, 2005, 06:41 AM
#1
Thread Starter
Hyperactive Member
Log off a web application
This may sound dumb but is there any way for the user to shut down a web application OTHER than using Browser File/Close or using the X in the control box?
Thanks
gollnick
-
Jan 3rd, 2005, 11:36 AM
#2
Frenzied Member
There is a javascript that will close a browser window.
.
~Peter

-
Jan 3rd, 2005, 12:15 PM
#3
Frenzied Member
Re: Log off a web application
 Originally Posted by MrGTI
There is a javascript that will close a browser window.
.
But only if the browser window was opened by the javascript too.
-
Jan 3rd, 2005, 12:51 PM
#4
Frenzied Member
Re: Log off a web application
Actually no. It can close a window that the user opened themselves. Try this code in a blank HTML page that you open by double clicking it.
VB Code:
<a href="javascript:window.close();">Close This Window</a>
Of course, IE 6.x has a few security safeguards, so the user will need to answer Yes when asked if it's okay if the browser window is closed.
It's probably best if you keep the use of this to a minimum gollnick. Let the user decide if they want to close the window themselves.
~Peter

-
Jan 3rd, 2005, 01:35 PM
#5
Frenzied Member
Re: Log off a web application
Yeah that's sort of what I meant. I wasn't really clear I guess
-
Jan 3rd, 2005, 03:07 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|