WebSession.HashtagChanged

From Xojo Documentation

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


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.

Notes

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.

Example

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

MessageBox("Hashtag = " + Self.HashTag)

See Also

Hashtag property, SaveState method.