Cakephp session is not setting in pages controller

Posted by binoy on Stack Overflow See other posts from Stack Overflow or by binoy
Published on 2010-05-27T06:09:47Z Indexed on 2010/05/27 6:11 UTC
Read the original article Hit count: 262

Filed under:

Hi,

I am using cakephp1.2 . I have override the pages controller. While login from my application, Im setting the session and redirecting to pages controller, but there I could not able to get the session. If I redirect to some other controller, Im getting the session over there. I have a table with name "pages", and when the user clicks on the links (passing page name), Im taking data from that table and displaying using pages_controller.

Can I not use "pages" as table name ? Or session won't work in pages_controller ?

© Stack Overflow or respective owner

Related posts about cakephp