question about login
I have created a login form an a few users in acl_users, both exists in a ordered folder called conference. My login Form post to a login dtml method and login dtml method redirect me to another page. Even though the user exists and username and password is correct, somehow zope won't redirect me. The login query window pops out three time and in the end it denied me "You are not allowed to access '....' in this context". Can someone help me, is there any thing I have to set?? should I move all the files into the root??
On 03/05/05, u1207440 <u1207440@nccu.edu.tw> wrote:
I have created a login form an a few users in acl_users, both exists in a ordered folder called conference. My login Form post to a login dtml method and login dtml method redirect me to another page. Even though the user exists and username and password is correct, somehow zope won't redirect me. The login query window pops out three time and in the end it denied me "You are not allowed to access '....' in this context". Can someone help me, is there any thing I have to set?? should I move all the files into the root??
It sounds like you're calling a method that's either restricted or set to a non-anonymous access level. What product are you using to allow you to use forms to log in? Can you post the DTML code? -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want & manages much of the hard stuff. On Tue, 3 May 2005, Phillip Hutchings wrote:
On 03/05/05, u1207440 <u1207440@nccu.edu.tw> wrote:
I have created a login form an a few users in acl_users, both exists in a ordered folder called conference. My login Form post to a login dtml method and login dtml method redirect me to another page. Even though the user exists and username and password is correct, somehow zope won't redirect me. The login query window pops out three time and in the end it denied me "You are not allowed to access '....' in this context". Can someone help me, is there any thing I have to set?? should I move all the files into the root??
It sounds like you're calling a method that's either restricted or set to a non-anonymous access level.
What product are you using to allow you to use forms to log in?
Can you post the DTML code?
On 03/05/05, Dennis Allison <allison@shasta.stanford.edu> wrote:
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want & manages much of the hard stuff.
I was getting there ;) Though I don't really appreciate the way CookieCrumbler stores the passwords... -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. On Tue, 3 May 2005, Phillip Hutchings wrote:
On 03/05/05, Dennis Allison <allison@shasta.stanford.edu> wrote:
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want & manages much of the hard stuff.
I was getting there ;) Though I don't really appreciate the way CookieCrumbler stores the passwords...
-- Dennis Allison * Computer Systems Laboratory * Gates 227 * Stanford University * Stanford CA 94305 * (650) 723-9213 * (650) 723-0033 fax * allison@shasta.stanford.edu * allison@sumeru.stanford.edu
On 03/05/05, Dennis Allison <allison@shasta.stanford.edu> wrote:
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model.
I've used exUserFolder before, it can store info in the session rather than chucking the user's password around ;) Anyway, all this isn't really solving the original poster's issue, as we still don't know what they're doing. -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
Phillip Hutchings wrote:
On 03/05/05, Dennis Allison <allison@shasta.stanford.edu> wrote:
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model.
I've used exUserFolder before, it can store info in the session rather than chucking the user's password around ;)
I also posted some patches for CookieCrumbler a while back that do the same thing... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
On 13/05/05, Chris Withers <chris@simplistix.co.uk> wrote:
Phillip Hutchings wrote:
On 03/05/05, Dennis Allison <allison@shasta.stanford.edu> wrote:
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model.
I've used exUserFolder before, it can store info in the session rather than chucking the user's password around ;)
I also posted some patches for CookieCrumbler a while back that do the same thing...
Hm, time to search the archives, I'm sure it'll be useful. -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
participants (4)
-
Chris Withers -
Dennis Allison -
Phillip Hutchings -
u1207440