New Message on dotNET User Group Hyd

Help:Accessing Userdefined Objects Globally

Reply
  Recommend Message 2 in Discussion
From: sistlavenkat

Pavan,
 
Are you storing non-redundant data in session? I mean, you could intelligently store all common variables (which are common to all users) in static objects, and user specific data (username, company name) in session.
 
Say for example, user has color choices to make. But, he sticks to default color provided. Then, you could store this default color value in session. On contrary, if you have user chose color, then you could store them in session level objects, (all colors go as one static object each) and associate user choice to the static object. Here, you would not be duplicating data.
 
As a second choice,
You could store key-value pairs of user choice in static objects, and re-use them as needed. (like username;company;colorchoice#username2;company;colorchoice).
 
what i suggest is to stick a design as first one, and consider moving redundant information, and non-redundant information and then going with using.
 
HTH,
venkat.Murthy

View other groups in this category.


Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to