Link to home
Start Free TrialLog in
Avatar of bailey1200
bailey1200Flag for United Kingdom of Great Britain and Northern Ireland

asked on

hide session variable asp.net 2

Hi, I have this code which works great.
<asp:TableRow runat="server">
            <asp:TableCell>
<p>Survey Id: <%=Session["SurveyId"]%></p>
            </asp:TableCell>
        </asp:TableRow>

I want to hide the session though?

How can I do this...
I have tryed this but it doesn't like the syntax..
   <asp:Label ID="Label1" runat="server" Text='<%#=Session["SurveyId"] %>'></asp:Label>

thanks,
ASKER CERTIFIED SOLUTION
Avatar of Jarrod
Jarrod
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial