WebApplication.Sessions

From Xojo Documentation

Method

WebApplication.Sessions() As Iterable

New in 2020r1

Supported for all project types and targets.


Allows you to iterate through all the active sessions.

Sample Code

This example adds to a WebListBox the name of the current page for each active session:

For Each activeSession As WebSession In App.Sessions
ListBox1.AddRow(activeSession.CurrentPage.Name)
Next

See Also

WebSession class.