Assigning value to a session in asp via asp.net (aspx)

0

I would like to know if there is a way to assign a particular value to a Session that is in an ASP page through an ASP.NET page (aspx)? Both files are in the same solution. How do I do this?

I've tried:

<%= Session("pgm_retorno") %>
    
asked by anonymous 20.01.2016 / 17:01

1 answer

-1

Try to assign a value to it.

Example:

<%= Session("pgm_retorno") = "valor" %>
    
04.02.2016 / 16:07