How do i get to my "startuppage.cfm" after login is successful

Hi All,

How do i get to my "startuppage.cfm" after login is successful

Where do i specify to go to "startuppage.cfm" after login is validated and authenticated.

Thanks
mdbboundAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
tim_csConnect With a Mentor Commented:
Have you tried placing a <cflocation> tag after the code that does the validating?


<cflocation url="startuppage.cfm">
0
 
MartinCMSCommented:
After validating.....

<cfoutput>
<cfset Random = Rand()>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=/startuppage.cfm?Random=#random#">
</cfoutput>
0
 
mdbboundAuthor Commented:
tim
Thanks

So instead of <cflocation url="#cgi.script_name#">, i should put

<cflocation url="startuppage.cfm">.  I dont know if i am doing this correctly

Please a little clarification.

I have been reading about setting security on my application and came across with this

set the value for #cgi.script_name#.  I just don't get it.  

OK if after all the checking and validation and authenticating is done, i want the user the be presented with the "startuppage.cfm"

The full code in the book is:
<cflocation url="#cgi.script_name#">

Thanks.
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
mrichmonConnect With a Mentor Commented:
So instead of <cflocation url="#cgi.script_name#">, i should put

<cflocation url="startuppage.cfm">

Yes this is correct.

If you put

<cflocation url="#cgi.script_name#"> you would end up redirecting them to the current page in an endless loop.
0
 
mdbboundAuthor Commented:
Thank you mrichmon
0
 
mrichmonCommented:
See your other post for a bit more clarification about the cgi.script_name vs startuppage.cfm in the cflocation.....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.