listo, lo solucioné!
Era muy simple:
en el código, cuando imprimo el form, me faltaba agregar el famoso method="post", quedó finalmente así:
Código PHP:
<html>
<title>Redireccionando...</title>
<body>
<?php echo '<form name="form1" id="form1" action="' . $url . '" method="post" >';
echo '<input type="text" name="id" value="' . $_SESSION["idusuarios"] . '" style="visibility:hidden" />';
?>
</form>
</body>
<script type="text/javascript">
document.form1.submit();
</script>
</html>
y para recibir el parámentro en ASP simplemente hice un
Código:
String id = Request.Form["id"];
y el referer, en vez de usar
Código:
String referer = Request.UrlReferrer.PathandQuery;
uso:
Código:
String referer = Request.Params["HTTP_REFERER"];