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

Posted on 2004-08-12
Last Modified: 2013-12-24
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.

Question by:mdbbound
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

tim_cs earned 250 total points
ID: 11788283
Have you tried placing a <cflocation> tag after the code that does the validating?

<cflocation url="startuppage.cfm">

Expert Comment

ID: 11788399
After validating.....

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

Author Comment

ID: 11788413

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#">

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

LVL 35

Assisted Solution

mrichmon earned 250 total points
ID: 11788560
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.

Author Comment

ID: 11788904
Thank you mrichmon
LVL 35

Expert Comment

ID: 11788995
See your other post for a bit more clarification about the cgi.script_name vs startuppage.cfm in the cflocation.....

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
What You Need to Know when Searching for a Webhost Provider
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question