object in session

Results 1 to 2 of 2

Thread: object in session

  1. #1
    Join Date
    Dec 1969

    Default object in session

    i have created a simple class the holds all the details of a user (one record from the db) is it possible to pass this class into a session variable and use it on the next page.<BR><BR>basically i&#039;m looking at keeping the user logged in throughout the site without making numerous trips to the database. Am i going about this the correct way or is there any better way to keep a user logged in with .net, ie passing stuff in the querystring or hidden fields.<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: object in session

    Here is a good article on how to keep a user logged using form validation. I would recommend something like it for you:<BR><BR>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT03.asp

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts