I have created a login and I have attached the code to this post. What I now want to do is create a session. I have looked at some tutorials but they were not helpful. I am using ASP.Net with C# and SQL server.
What I want to do is - a logged in user logs in, his preference is retrieved from the database and stored. He/she can then view the page which is restricted to anonymous users, and when he/she searches for matches, the command button will initiate a query and return the matches based on the user's preferences against the database.
Please can you tell me how i can do this?