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

Supporting Sessions in a Direct Action Application

In this next section we'll add a login page to the online forum to enable members to login and post replies and topics of discussion.

Using Direct Action Classes

The login page can be implemented as a stateless page.

It is not until the user has correctly typed in a username and password that we really have to create a session.

Revert back to developing the stateless application prototype again. Add a UserLogin page and lay it out pretty much as you did before.

The differences this time are that we us a direct action on the WOForm, and so must name the form elements as well. That is, you must specify the name attribute of the WOForm elements for them to work as a stateless direct action.

Bind ...

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