Storing form data (non database)?

Posted on 2011-10-19
Medium Priority
Last Modified: 2013-12-02
If I wanted to have my visitor on my website fill out a form, and then my site stores the data, but not in a database something like a session a or what you would use for a shopping cart. What is the best way to do this? I don't know much about sessions or array? Can someone guide me one which way I should go?

Windows Server, CF 9
Question by:overcolor
  • 3
LVL 39

Accepted Solution

gdemaria earned 2000 total points
ID: 36996454
An array is just a data structure, it's not applicable to a discussion of where you store data... it's just avariable type.

You have to choose among database or session variables.   To me, the only convenient and practicle answer is the database... I wouldn't want to take up system resources with session variables to store carts and then have the session time-out so the shopper loses everything.  

The database is really the best approach, why don't you want to use it?

Author Comment

ID: 36996495
I just want to use it so the visitor can search on the site and the system stores the search criteria,
LVL 39

Expert Comment

ID: 36997525
Not sure what searcing has to do with whether or not you store your cart in the database?

You can also store your search criteria in the database too... that way if the user returns to their computer in the future, you could still have the cart available, and the search as well..

LVL 39

Expert Comment

ID: 37137960
Any additional questions?

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

862 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