534770 Custom variable to Joomla session and verify it for access
N/A
Betalt ved levering
I have a few custom PHP scripts that allow a user to create an account provided they have a certain code, they then access protected content based on their email and that code thereafter. Every time they log in, I check the validity of the code against a database and then use a session to keep the person logged in as they view various content.
In a new variation of the site, I need a user to be able to log in using my form and then view areas of a Joomla site exclusive to people who have logged in. I imagine it might make the session viewable in Joomla.
I suppose I'll need this in a module - or have some method to drop it in to Joomla pages I wish to make code-accessible only. If a person attempts to view one of these pages, I need the module/whatever to redirect them my outside login script. Joomla authentication can and should stay. There are some Joomla pages which do not require the login, so I don't want to affect those.
Site is in Joomla 1.5.
Projekt ID: #2280708