Store user data(dataset) other than session

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prabunewindia
    New Member
    • Mar 2007
    • 199

    Store user data(dataset) other than session

    Hi,

    for my project, i am using session to store the user's information like userid, username...

    Also i am storing the dataset, which is having the datas for the particular user to avoid trip to database always. Unfortunately this is a big dataset... so once the dataset stored into session, the browsing system gets slow(bcoz its taking more memory)...

    So can anyone suggest a way to store user related data (dataset) other than session....


    Plz help me to find the solution

    Rajendra Prabu Elias,
    ASP.Net Programmer,'
    ISPG
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    If it's too big to store in the session, it's probably too big to store in memory entirely and you would be better off making DB requests when the info is needed.

    Comment

    • kunal pawar
      Contributor
      • Oct 2007
      • 297

      #3
      Yes, u can store dataset in viewstate also, but it is not feasible method. this will increase ur page size

      Comment

      • prabunewindia
        New Member
        • Mar 2007
        • 199

        #4
        Thanks for replies...
        as per plater's suggestion i am getting the dataset from dataset, whenever its needed...

        Thanks

        Comment

        Working...