neojakey
neojakey

Reputation: 1663

Closing a tab after server side script has executed

I need a little assistance. I want to close a firefox tab after a classic asp script has executed which is run at specific times of the day automatically.

I have tried the following code without success:

<% ASP SCRIPT %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript" type="text/javascript">
window.onload = function(){window.close();}
</script>
</head>
</html>

Any ideas how this can be accomplished? Any help would be greatly appreciated.

Many thanks, neojakey

Upvotes: 0

Views: 223

Answers (1)

James Kleeh
James Kleeh

Reputation: 12238

Refer to This question. It doesn't seem possible.

Upvotes: 1

Related Questions