Good Afternoon ,
I have got a serious problem in my project which i figured it just yesterday.
I will tell you the scenario
I have created some Static Objects which contain User Preferences and some Contact Details actually i did this to prevent the use of Sesion variables i thought these are alternatives.
The Reason i wanted to remove Session Varibles in the project is now the total amount of Session variables are amounting to 80 in the project which would definitely affect the application.
There are certain things like User Name,user Company Name,user Color preferences which we use in many modules.What were doing is we used to query them once again whenever we need them.
My intension was to get all the user info and store them in one object and use them in the application whereever we need this User information,thats the reason i went for these static objects.My goal was to reduce the database activity which was happening very heavily.
I thought these static objects are restricted to each User Session but i found that they are acting as Application level objects.
Please guide me at this point.
This UserInformation and Security Information is used through out the application so i want to build these objects when the User logs in.We can store these objects built during user login into Sessions and use them where ever we need them its one solution.
Could you please tell me what best i could do with out storing object into Sessions? ></SCRIPT>
Regards,
Pavan Vaidyula