comparison of ways to maintain state
问题 There are various ways to maintain user state using in web development. These are the ones that I can think of right now: Query String Cookies Form Methods (Get and Post) Viewstate (ASP.NET only I guess) Session (InProc Web server) Session (Dedicated web server) Session (Database) Local Persistence (Google Gears) (thanks Steve Moyer) etc. I know that each method has its own advantages and disadvantages like cookies not being secure and QueryString having a length limit and being plain ugly to