Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Using Session Variables

There is another way for WebObjects pages to share values. That is, to use Session variables instead of Component variables.

This way we might not get the discrepancy we observed between clicking the browser back button and clicking the Back hyperlink in the last exercise.

Introduction to WebObjects Application Architecture

Run the Hello application again.

This time when the browser window appears, before you type anything and hit submit; open a new identical window to the Hello application.

Now, type your name and submit in the first window and a friend's name in the second. Notice how the two greeting pages will display the two different names. What you are witnessing is two open Sessions to the Hello application.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book