Skip to main content
Inspiring
February 19, 2009
Question

login and redirect

  • February 19, 2009
  • 1 reply
  • 581 views
I have the form for users to submit the registration information. The information will be mailed to the designated person with the hyperlink to view details of the registration. Once that person received that email, he clicks on the link and it prompts him to login. When he logged, I want the details page open not the admin index page open. Please tell me what I need to do on the login page or detail page?

Thanks
This topic has been closed for replies.

1 reply

Participating Frequently
February 20, 2009
The solution is simple:

In hyperlink that is emailed to the designated person, you can set URL variables say(redirect) and can set the value of this URL variable(say:redirect="registration_page"). After the successful login, on next page you can add the condition for checking this URL variable
(Like <cfif isdefined("url.redirect") and url.redirect eq "registation_page">
<cflocation url="desire page"></cfif>) and on successful match this condition You can redirect.

I hope this solves your question. (This is from our US- ColdFusion Development Team)