Re: DirectAction authentification and Session
Re: DirectAction authentification and Session
- Subject: Re: DirectAction authentification and Session
- From: Chuck Hill <email@hidden>
- Date: Mon, 13 Dec 2004 09:44:39 -0800
The request was DA request so you see the result with a DA URL. The
page returns is a Component action page (well, can be in any case) and
will have component action URLS. Using POST instead of GET will keep
the values off of the URL.
Chuck
On Dec 10, 2004, at 9:19 AM, Erwin wrote:
I am performing the authentification process with a login
DirectAction... before creating any session for the user
it's working fine ... but
in my LoginAction class....
After userID / password checking, I refetch the checkedMember from
the session defaultEditingContext
then I set the session user :
session().takeValueForkey( checkedMember, "authentificatedMember" );
then I display the AuthMemberHomePage
return pageWithName("AuthMemberHomePage");
Therefore I wonder why the URL displayed is "still" a DirectAction URL
style (wa) .... with userID/password displayed
as the session has been now created for this user, I should see a 'wo'
URL ... isn't it ? (I am sure I am wrong....!!)
http://kermac.local:55617/cgi-bin/WebObjects/OVApp.woa/wa/LoginAction/
User?
userid=dingo&password=pluto&1.5=1.5&LoginAction/User=Login&WOSubmitAc
tion=LoginAction/User&wosid=1zOtXIBstZ8JANaMD98Kcg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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