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

Posted on 2004-08-12
Medium Priority
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 1000 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#">

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

LVL 35

Assisted Solution

mrichmon earned 1000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
What You Need to Know when Searching for a Webhost Provider
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: …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

770 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