Auth - 2 logged in models simultaneously

2011-11-13 Thread wudu
I have Users and Admins models. For various reasons I don't want to
merge them and use role/type field. Is it possible to use Auth
component so that Admin and User can both be logged in at the same
time? I'm using cakephp 2.0

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Auth - 2 logged in models simultaneously

2011-11-13 Thread phpMagpie
For them to exist as separate entities and at the same time they will need 
their own (and I assume on the same client) then you will need them to use 
separate sessions, well pretty much separate everything ... not sure how 
easy that is going to be to configure, i possible at all.

In summary, your 'various reasons' for not going with the standard 
convention of role/type is going to cause you a world of pain.

HTH, Paul.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php