Re: [fw-general] Help in zend_auth instances

2008-09-23 Thread Graham Anderson
On Tuesday 23 September 2008 14:44:31 amithasija wrote:
> i want to create multiple instances of zend_auth class
>
> as i have two modules
>
> Admin
> Front
>
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.
>
>
> so wat i want is the i can work on both modules separately after
> simultaneous authentication.

Surely you should authenticate you user only once ( or twice for comparison 
when using admin features ) and use an appropriate set of access controls to 
specify which sections of your site the user is allowed access to. Zend_Acl 
would allow for this type of per resource control.

Graham


Re: [fw-general] Help in zend_auth instances

2008-09-23 Thread Giorgio Sironi
2008/9/23 amithasija <[EMAIL PROTECTED]>:
> wats happening is when i login into admin it automatically get logins into
> front or vice-versa.

If you want that, why are you creating two instances where one would
be sufficient?

-- 
Giorgio Sironi
Piccolo Principe & Ossigeno Scripter
http://www.sourceforge.net/projects/ossigeno


[fw-general] Help in zend_auth instances

2008-09-23 Thread amithasija

i want to create multiple instances of zend_auth class 

as i have two modules 

Admin
Front

wats happening is when i login into admin it automatically get logins into
front or vice-versa.


so wat i want is the i can work on both modules separately after
simultaneous authentication.


 regards amit
-- 
View this message in context: 
http://www.nabble.com/Help-in-zend_auth-instances-tp19626894p19626894.html
Sent from the Zend Framework mailing list archive at Nabble.com.