If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
unfortunately they do not explain the difference between dB and NONE handlers. I assume if it is set to dB then your next line is true and the jos_session holds that information.
I tested this on standard default Joomla v3.2 installation and my working site.
IT seems like testing against session table should be enough, although one more question arise:
Say I want to test upon opening any SC app to see if the particular logged in user should be able to access the App or not. This should be easy, however I would like to have this implemented as function (or method) globally so I do not have to replicate the code for that in every App. What would be the best approach to do this ?
I would like to see something simple like:
Sadly enough my joomla experience is rather ancient. I guess you could add it in the library, I would choose the public library for that. You can use functions from the public library over the whole application.