session variable in url

L

led

hello.
what is the sintaxe for writing a session variable in the list of link
parameters.
I use :
<a
href="results_mes.asp?cod_casa=<%session("codcasa")%>&nm_mes=<%session("nmmes")%>">seleccionar
outro periodo</a>

and doesnt work
why?
thanks
 
R

Ronx

Link should be:

<a
href="results_mes.asp?cod_casa=<%=session("codcasa")%>&nm_mes=<%=session("nmmes")%>">seleccionar
outro periodo</a>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top