Is ViewState safe for multiple users in web application

In my ASP.Net app i use viewstate to store data of a grid, i use common class for creating viewstate object, like shown below.\[code\]public static PageViewState CurrentViewState { get { if (_app == null) { Initialize(); } return _app; } } /// <summary> /// Creates new object for singleton class /// </summary> private static void Initialize() { PageViewState _viewstate = new PageViewState(); _app = _viewstate; } /// <summary> /// Returns viewstate for specified page name /// </summary> /// <param name="_page">string : Name of the page</param> /// <returns></returns> public object this[string _page] { get { if (ViewState[_page] != null) return ViewState[_page]; else return null; } set { ViewState[_page] = value; } }\[/code\]I'm using a static property, is it safe when multiple users access this in aspx.cs.\[code\]Datatable _dtable = (Datatable)PageViewState.CurrentViewState["MyPage"];\[/code\]ViewState stores data in client side in the form of hiddenfields so it should be unique for each user, am i right about this.
 
Back
Top