ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Dell PowerEdge Servers
  #1  
Old November 19th, 2004, 01:17 PM
jmeeter's Avatar
jmeeter jmeeter is offline
EXOH
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Nov 2004
Location: corner of methadone and disillusionment
Posts: 1,039 jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 6 h 44 m 45 sec
Reputation Power: 45
Send a message via AIM to jmeeter Send a message via MSN to jmeeter
CFML Carrying Variables to next page

Okay, my boss and I are making some pages for an application using ColdFusion. We were originally going to put all of the questions on one page, but now we want to break it up into several pages. How do we carry the variables over to the next page? Once again, this has to be ColdFusion.

Thanks. :-)

Reply With Quote
  #2  
Old November 19th, 2004, 01:35 PM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,494 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 18 h 41 m 47 sec
Reputation Power: 44
You can:

pass them in the URL
pass them as form fields
store them in a shared scope (such as the SESSION scope)
store them in a database
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian.
How to Post a Question in the Forums

Reply With Quote
  #3  
Old November 19th, 2004, 01:42 PM
jmeeter's Avatar
jmeeter jmeeter is offline
EXOH
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Nov 2004
Location: corner of methadone and disillusionment
Posts: 1,039 jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 6 h 44 m 45 sec
Reputation Power: 45
Send a message via AIM to jmeeter Send a message via MSN to jmeeter
Which would be the safest? We're going to be passing very private information, such as social security numbers.

Reply With Quote
  #4  
Old November 19th, 2004, 01:57 PM
bocmaxima's Avatar
bocmaxima bocmaxima is offline
Contributing User
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2004
Location: Tucson, Sonora
Posts: 1,316 bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level)bocmaxima User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 16 h 48 m 13 sec
Reputation Power: 22
Send a message via AIM to bocmaxima
Either session or form data. I'd say session, especially if you plan on using the data on multiple pages.
Database will leave a record, at least until you remove it.
URL is very visible and would probably upset the user.

Reply With Quote
  #5  
Old November 19th, 2004, 01:59 PM
jmeeter's Avatar
jmeeter jmeeter is offline
EXOH
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Nov 2004
Location: corner of methadone and disillusionment
Posts: 1,039 jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level)jmeeter User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 6 Days 6 h 44 m 45 sec
Reputation Power: 45
Send a message via AIM to jmeeter Send a message via MSN to jmeeter
Great. So where can I find scripts, tutorials, etc. for setting sessions with CF?

Reply With Quote
  #6  
Old November 19th, 2004, 02:09 PM
webacadie webacadie is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: Caraquet, New-Brunswick, Canada
Posts: 9 webacadie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Store them in a database

I would suggest that you store them in a database.

Quote:
Originally Posted by illEATurHARTout
Which would be the safest? We're going to be passing very private information, such as social security numbers.

Reply With Quote
  #7  
Old November 19th, 2004, 02:13 PM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,494 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 18 h 41 m 47 sec
Reputation Power: 44
There's nothing wrong with storing them as SESSION variables.

It's all in the docs!

http://livedocs.macromedia.com/cold...cs/shared27.htm

Reply With Quote
  #8  
Old November 19th, 2004, 02:14 PM
kiteless kiteless is offline
Moderator
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 3,494 kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level)kiteless User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 18 h 41 m 47 sec
Reputation Power: 44
You could also encrypt the values if you're extra cautious.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > CFML Carrying Variables to next page


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway