• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
DirectAction & User login Questions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DirectAction & User login Questions.


  • Subject: DirectAction & User login Questions.
  • From: Daniel Brajkovic <email@hidden>
  • Date: Wed, 13 Feb 2008 15:24:06 -0600

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: DirectAction & User login Questions.
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: Re: Converting from one subclass to another
  • Next by Date: re: DirectAction & User login Questions.
  • Previous by thread: Re: [ANN] JBND update
  • Next by thread: Re: DirectAction & User login Questions.
  • Index(es):
    • Date
    • Thread