See Also: HtmlHistory Members
The managed HTML Document Object Model (DOM) keeps track of the sites that a user has visited within a given session. A session is defined as the length of time from when an application hosting the managed HTML DOM starts until the application closes.
When you use the WebBrowser.Url property or erload:System.Windows.Forms.WebBrowser.Navigate method of the System.Windows.Forms.WebBrowser control to navigate to a new Web page, Internet Explorer may either retrieve the latest version of that page from the server or display the version that is currently in the Internet Explorer cache. By contrast, when you use System.Windows.Forms.HtmlHistory to navigate forward and backward in this stack, Internet Explorer will display the pages from the local computer's cache of downloaded Web content, unless the server indicates that the document's content should expire immediately. For more information on the history list and caching in Internet Explorer, see article 234067, "How To Prevent Caching in Internet Explorer," in the Microsoft Knowledge Base at tp://go.microsoft.com/fwlink/?linkid=37115.
The principal method of System.Windows.Forms.HtmlHistory is erload:System.Windows.Forms.HtmlHistory.Go, which navigates either to the specified position in the navigation stack or to a new Uniform Resource Locator (URL). The HtmlHistory.Forward(int) and HtmlHistory.Back(int) methods navigate down and up the navigation stack, respectively, by the required number of entries.