EnemyGateIsDown
Technical User
Hi Guys,
The extract of code below is supposed to perform the vbscript actions if the user presses cancel when prompted by the jscript response box however whatever the user responds the outcome is the same, where am I going wrong?
Any help is as always greatly appreciated.
Cheers,
Chris
The extract of code below is supposed to perform the vbscript actions if the user presses cancel when prompted by the jscript response box however whatever the user responds the outcome is the same, where am I going wrong?
Any help is as always greatly appreciated.
Cheers,
Chris
Code:
<script language = "Javascript">
Session("delconf") = "0";
var response = confirm("Do you wish to remove the preference from the pool?")
if (response == true)
{
Session("delconf") = "1";
}
</script>
<%
if session("delconf") = 1 then
... do the conditional stuff
End if