为什么ASP.NET应用程序状态提供了很多安全性而不是会话状

问题描述:

大家好,



我已经阅读了asp.net中的应用程序状态和会话状态概念,但我有



怀疑这个概念,即应用程序状态提供了很多安全性而不是会话



为什么要提供很多安全性而不是asp.net中的会话。





请帮帮我。



我的尝试:



为什么要在asp.net中提供更多安全性而不是会话。

Hi all,

I had Read the application state and session state concept in asp.net but i have

doubt in this concept i.e application state provides much security rather than session

why should provide much security rather than session in asp.net.


please help me.

What I have tried:

why should provide much security rather than session in asp.net.

唯一的方法Application会提供比Session更多的安全性,因为你不能劫持应用程序状态,但是如果你在谈论每用户数据那么应用程序状态无论如何都不适合你。
The only way Application would give more security than Session is because you can't hijack Application state, however if you are talking about per-user data then the Application state is no good for you anyway.