Click here to Skip to main content
15,891,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to save the page state with the help of gac ??how can i implement it and how it i possible???
Posted

The Global Assembly Cache is for DLL's not for "storing state".

To store state use a database or read : ASP.NET State Management Recommendations[^]
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 3-Dec-14 1:38am    
5ed. I added Solution 2 to this, for apparent important educational purposes, as such a big OP's confusion should be resolved somehow.
—SA
syed wasim akbar 3-Dec-14 2:18am    
thanks both of you
Sergey Alexandrovich Kryukov 3-Dec-14 3:22am    
You are welcome. Are you going to accept some of these solutions formally (green "Accept" button; I would recommend to accept both)?
In all cases, your follow-up questions will be welcome.
—SA
syed wasim akbar 3-Dec-14 4:11am    
offline ccess of web apps is i think its right solution how that is yet a question???
Sergey Alexandrovich Kryukov 3-Dec-14 14:00pm    
Sorry, I fail to understand your last comment/question...
—SA
In addition to Solution 1:

GAC (Global Assembly Cache) is something each and every .NET developer should understand very well. This is a system-global collection of assemblies designed for reuse. The technology is based on strong naming, which is, in turn, based on public-key cryptography and 1) allows to reference assemblies by (potentially, world-unique) names rather than file names; 2) to certain extent, protects from spoofing assemblies. Please see:
http://msdn.microsoft.com/en-us/library/yf1d93sz%28v=vs.110%29.aspx[^].

—SA
 
Share this answer
 
Comments
Mehdi Gholam 3-Dec-14 1:42am    
Touche! :)
Sergey Alexandrovich Kryukov 3-Dec-14 1:47am    
:-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900