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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now