(My mail rules failed me, hence the late reply.)

On Sep 19, 2012, at 8:18 AM, Johann Werner wrote:

> reading your article you make your life harder than it needs. Instead of 
> creating an empty component where you override the appendToResponse just 
> change your direct action to this:

[...]

Absolutely right.  If you do have content in that component, it will get 
returned to the client if the user clicks Cancel at the log in prompt. An 
opportunity to avoid the default authorization required page from the web 
server.

Also, if you have a login direct action and you create a session when you 
authorize/authenticate the user, a new session is created every time the user 
reloads the page. I redirect to a component using ERXRedirect once the user is 
authenticated. So there are two component, once for canceled logins and another 
for successful logins.

Now I have to do that digest thing....


kib

"Success is not final, failure is not fatal: it is the courage to continue that 
counts."
Winston Churchill

Klaus Berkling
Web Application Dev. & Systems Administrator
DynEd International, Inc.
www.dyned.com | blog




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

This email sent to arch...@mail-archive.com

Reply via email to