To clarify, is this what you're trying to do:
In JavaScript, 19 minutes after the user opens the page, you want to create an alert that warns the user that their session has timed out, and then redirect them to the Default.aspx page.
Then yes, as others have stated, the following should work for you:
<script language="javascript" type="text/javascript">
setTimeout('SessionTimeout()', 19 * 60 * 1000);
function SessionTimeout() {
alert(<%= "'Session time out!!'" %>);
window.location = "Default.aspx"
}
</script>
If you want this to be tied to the ASP.NET session timeout, and to be one minute less, then the following should work for you:
<script language="javascript" type="text/javascript">
setTimeout('SessionTimeout()', <%= Session.Timeout -1 %> * 60 * 1000);
function SessionTimeout() {
alert(<%= "'Session time out!!'" %>);
window.location = "Default.aspx"
}
</script>
Note however, that by doing it this way, if the user presses "OK" on the alert within 1 minute, they will still have an active session when they hit Default.aspx as the request will have happened within the timeout window, and will reset the clock.