Please ignore this.. I resolve it. Always a bad idea to code till 5am in the 
morning...


----- Original Message ----
> From: Luther Goh Lu Feng <[email protected]>
> To: [email protected]
> Sent: Wed, October 20, 2010 4:50:50 AM
> Subject: URL redirect depending on user group
> 
> Hi,
> 
> I am trying to redirect login users to different pages/controllers,  
> depending 
>on 
>
> which group they belong to. What is the best way to do this? I  am not too 
> familiar with the syntax but my educated guess seems to indicated  that it 
>would 
>
> be something similar to:
> 
> auth.settings.login_next =  URL('index', args=db.auth_membership.group_id)
> 
> At the index controller, I  will process request.vars to decide which 
>controller 
>
> to redirect  to.
> 
> Any tips?
> 
> 
> Cheers,
> 
> Luther
> 
> 
>        
> 


      

Reply via email to