Hello all..
I  am working on matrimonial site.. In that whenever user tries to
login, before his login I want to check his membership end_date..

If his membership is still active then he will be redirected to his
profile page otherwise he will be redirected to buy membership page..

I have tried with
$this->Auth->userScope = array('User.membership_valid_to >=' => date
('Y-m-d H:i:s'));

in app_controller's beforeFilter() action.
but it doesnt work..

so need some Idea..
waiting for reply..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to