Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 9.4


App and Session

What's the difference?

Issue: 9.4 (May/June 2011)
Author Bio: Paul Lefebvre has been using Real Studio for 9 years. His company, LogicalVue Software, specializes in creating database applications using Real Studio. Paul also runs the RBDevZone community site and is a founding member of the Association of REALbasic Professionals.
Article Description: No description available.
Article Length (in bytes): 5,658
Starting Page Number: 85
Article Number: 9412
Related Web Link(s):


Excerpt of article text...

When you create a new Real Studio web application project, you get several objects created for you automatically: App, Session and WebPage1.

This month, we will take a look at App and Session (subclasses of WebApplication and WebSession).

What is the App?

Much like in a desktop application, the App object in a web application is a global object. It has some different web-specific properties, of course.

In particular, the Timeout property tells your web application how long it should remain running after the last session is closed.

Other properties on the App allow you to find out what session a particular WebControl (usually a page) belongs to.

...End of Excerpt. Please purchase the magazine to read the full article.