Top questions

Post

New Post


Find by name:


QUESTION


How can we prevent browser from caching an ASPX page?


We can SetNoStore on HttpCachePolicy object exposed by the Response object's Cache property: Response.Cache.SetNoStore (); Response.Write (DateTime.Now.ToLongTimeString ());
Edit | Details | Delete


How do I sign out in forms authentication?


FormsAuthentication.Signout() method is used to sign out.
Edit | Details | Delete


How long the items in ViewState exists?


They exist for the life of the current page.
Edit | Details | Delete



Back to HomePage