June 2002
Intermediate to advanced
400 pages
7h 48m
English
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.
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.