I am trying to set a cookie in ASP.NET
What I want to do is store the Id of the logged in user into a cookie.
What I have is
Response.Cookies("LoggedInUser").Expires = "5/1/2010"
Response.Cookies("LoggedInUser").Value = Request.Form("emailAddress")
And it works fine
But I want to store the Id not the email address. From My stored procedure I get the login information
The Id output is
<%# Get_Login.FieldValue("Id", Container) %>
How do I merge the two?