luizkim Posted July 31, 2012 Share Posted July 31, 2012 Hi, I´m try get cookies from admin to use in frontoffice page, but my code not work. This a example: $cookie = new Cookie('psAdmin'); if ($cookie->id_employee) { echo 1; } else { echo 0; } The code not work in frontoffice page, but in admin page it´s fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now