From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

WebSession.HashtagChanged(Name As String, Data As String)

New in 2011r2

Supported for all project types and targets.

Called when the user modifies the Hashtag in the browser address bar or when WebSession.SaveState is called.


The Hashtag feature is not limited to just simple bookmarking. For example, a single page with a list of records could change the tag whenever the record changes. By implementing the HashtagChanged event, the current record can be changed only by entering the correct tag in the URL.


Displays the hash tag that the user entered in the address bar:

MessageBox("Hashtag = " + Self.HashTag)

See Also

Hashtag property, SaveState method.