How to detect Standalone/cgi ?

Xojo offers TargetWeb to check if the app is Web, but there does not seem to be any way to detect if the app is running as standalone, or as cgi.

Has anybody run into that before ?

TIA

i found this
documentation.xojo.com/api/web/webapplication.html.Mode

[quote=472173:@Markus Rauch]i found this
documentation.xojo.com/api/web/webapplication.html.Mode[/quote]

Superb. Thank you Markus :slight_smile: