M
Mirovk
Hello Agn,
1.-
Being at the a.asp I refresh the page and session variables using a
JavaScript function:
{
simbolo = window.document.frmdir.simbolo.value;
window.location.href="checkout_gastos.asp?refresh=1&bono="+bono+"&simbolo="+simbolo;
}
2.- Then I pass the values without problem to b.asp via frmdir.submit()
3.-
At b.asp when I refresh the page, based upon a variable change then the
simbolo´s variable shows at the navegation bar a value of:
&simbolo=€%20%20%20%20%20%20%20%20%20
at the second refresh the simbolo´s variable shows at the navegation
bar a value of:
&simbolo=?%20%20%20%20%20%20%20%20%20
So the refresh routine substitutes Euro value for ? value and add a lot
of %20 characters that I think that could be removed with simbolo =
unescape(simbolo.substring(0,2));
but the problem of the Euro character still´s.
************************** PROCEDURE MECHANISM
b.asp***************************
First time page it´s loaded the simbolo value is taken from the info
sended by a.asp using:
<%simbolo = request.form("simbolo")%>
At refresh time (via onclick) the simbolo value is taken via
<%simbolo=(request("simbolo"))%> then the new value is stored using
<%session("simbolo")= simbolo%>
At the Refresh function I declare:
var simbolo=""
simbolo = window.document.frmdir.simbolo.value;
And then the page is reloaded:
window.location.href="checkout_pago.asp?refresh=1&simbolo="+simbolo+"&de_moneda="+de_moneda;
alert ("value"+simbolo);
That alert still shows the correct value of simbol but when the program
reloads it´s value changes (step 3)
PD: At the form simbolo is declared as hidden
<form name="frmdir" method="POST" action="checkout_pedido.asp">
<input type="hidden" name="simbolo" value="<%=simbolo%>">
Help will be appreciatted.
1.-
Being at the a.asp I refresh the page and session variables using a
JavaScript function:
{
simbolo = window.document.frmdir.simbolo.value;
window.location.href="checkout_gastos.asp?refresh=1&bono="+bono+"&simbolo="+simbolo;
}
2.- Then I pass the values without problem to b.asp via frmdir.submit()
3.-
At b.asp when I refresh the page, based upon a variable change then the
simbolo´s variable shows at the navegation bar a value of:
&simbolo=€%20%20%20%20%20%20%20%20%20
at the second refresh the simbolo´s variable shows at the navegation
bar a value of:
&simbolo=?%20%20%20%20%20%20%20%20%20
So the refresh routine substitutes Euro value for ? value and add a lot
of %20 characters that I think that could be removed with simbolo =
unescape(simbolo.substring(0,2));
but the problem of the Euro character still´s.
************************** PROCEDURE MECHANISM
b.asp***************************
First time page it´s loaded the simbolo value is taken from the info
sended by a.asp using:
<%simbolo = request.form("simbolo")%>
At refresh time (via onclick) the simbolo value is taken via
<%simbolo=(request("simbolo"))%> then the new value is stored using
<%session("simbolo")= simbolo%>
At the Refresh function I declare:
var simbolo=""
simbolo = window.document.frmdir.simbolo.value;
And then the page is reloaded:
window.location.href="checkout_pago.asp?refresh=1&simbolo="+simbolo+"&de_moneda="+de_moneda;
alert ("value"+simbolo);
That alert still shows the correct value of simbol but when the program
reloads it´s value changes (step 3)
PD: At the form simbolo is declared as hidden
<form name="frmdir" method="POST" action="checkout_pedido.asp">
<input type="hidden" name="simbolo" value="<%=simbolo%>">
Help will be appreciatted.