Hi,

I am working on a pretty significant WO App and you will likely see lots of questions from me over the next few weeks (months). I've done some minor apps, and am no WO genius.


So Question 1,

I want the app to create no session until a user successfully logs in. Based upon what I have found this is the right way to do it:

        public Application() {
                NSLog.out.appendln("Welcome to " + name() + " !");
                /* ** put your initialization code in here ** */
setDefaultRequestHandler (requestHandlerForKey( directActionRequestHandlerKey() ));
        }

However, after doing so I run my app, and it goes straight to main and creates a session. I know this because I have a string bound to hasSession(). When I manually add wa to the URL, the same page says false to hasSession().

WO 5.4, Latest Project Wonder, WoLips, and Eclipse, OS X 10.5.

Question 2:
On the WebObjects Wiki/confluence, it is stated that people typing in URLs with your components could cause problems. So how do I keep people from doing so?

Question 3:
If I have a user/passwords login app, how do I keep people from using a common username and password simultaneously on different computers? There will be multiple application instances, on several servers.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to