Can you exclude an autoloaded Class from a single page? |
[eluser]bretticus[/eluser]
[quote author="russ_kern" date="1281489627"]Well... maybe I don't... that answer is just as good... I want to check if they have logged in against the session cookie... how is the best way to do that then? Thanks for the quick reply...[/quote] The nice thing about sessions is that the cookie part of it is abstracted away and you don't really even have to think about cookies. It's simple, you set a session variable when they log in, and check for it in the pages that require a login. See set_userdata() and userdata() in the manual. (See "Retrieving Session Data" in particular.) |
Messages In This Thread |
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 02:14 PM
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 02:16 PM
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 02:20 PM
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 02:47 PM
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 02:54 PM
Can you exclude an autoloaded Class from a single page? - by El Forum - 08-10-2010, 05:35 PM
|