
January 17th, 2006, 07:28 PM
|
|
Friend of Wrox
|
|
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,803
Thanks: 12
Thanked 14 Times in 14 Posts
|
|
This bugged me for a while, the following code works like a charm:
<%
if some condition = whatEver then
some asp code...
else
%>
<script language = JavaScript>
opener.history.go(0);
self.close();
</script>
<%
end if
%>
Wind is your friend
Matt
|