Re: [Zope] question about login

2005-05-12 Thread Phillip Hutchings
On 13/05/05, Chris Withers <[EMAIL PROTECTED]> wrote:
> Phillip Hutchings wrote:
> > On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> 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/
[EMAIL PROTECTED] / [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-12 Thread Chris Withers
Phillip Hutchings wrote:
On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> 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
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> 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/
[EMAIL PROTECTED] / [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-02 Thread Dennis Allison

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 <[EMAIL PROTECTED]> 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
   * [EMAIL PROTECTED]
   * [EMAIL PROTECTED]


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison <[EMAIL PROTECTED]> 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/
[EMAIL PROTECTED] / [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-02 Thread Dennis Allison

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 <[EMAIL PROTECTED]> 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?
> 
> 


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, u1207440 <[EMAIL PROTECTED]> 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/
[EMAIL PROTECTED] / [EMAIL PROTECTED]
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] question about login

2005-05-02 Thread u1207440
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??
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )