Forums

Redirect to login

jarodwildcat 10 Jul, 2011
I'm using J!1.6 and CFv4 and I'm trying to create a mutipage form in which the user is presented with one form and then has to be logged in to see the other forms. At the end, I just gather all the data from the session and do something.
My question is : How do I redirect the user to the login after the 1st form and how bring him back to the 2nd form after he has successfully logged in?
I've tried to restrict the access to the 2nd form but joomla just gives me a not authorized message instead of a redirection to the login page (it's the new behavior since J!1.6.1). So before i jump into joomla code to try to get the login redirect to work, I was wondering if there is a way to get this to work using CFv4.

Any direction on this would be appreciated.

Thanks.
Jarod
GreyHead 10 Jul, 2011
Hi Jarod,

I think you can add the ChronoForms Joomla! Login action to one of the forms in your sequence (maybe a new one) and avoid the need to use the 'official' login at all.

Bob
This topic is locked and no more replies can be posted.