Tech or Treat! Write an article about your scariest tech disaster to win gadgets!Learn more

x
?
Solved

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

Posted on 2004-08-12
6
Medium Priority
?
173 Views
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.

Thanks
0
Comment
Question by:mdbbound
[X]
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
6 Comments
 
LVL 15

Accepted Solution

by:
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">
0
 
LVL 8

Expert Comment

by:MartinCMS
ID: 11788399
After validating.....

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

Author Comment

by:mdbbound
ID: 11788413
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
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

by:mrichmon
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.
0
 

Author Comment

by:mdbbound
ID: 11788904
Thank you mrichmon
0
 
LVL 35

Expert Comment

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

Featured Post

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.

Question has a verified solution.

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

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

648 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