By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,916 Members | 1,728 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,916 IT Pros & Developers. It's quick & easy.

Saving Values using an alternative to Sessions

P: 9
I am saving a value ID using sessions on this feedback Form, but at times, if the visitor takes too long to type a a feedback, the session times out and the user received an error message.

Please note, my session is set to 20 mn on the application.cfm, I do not want to increase its value because of other issues that might arise.

I'd like to use an alternative way to sessions to save the Value ID - I am sure there is a way, but do not know what it is.

Here is what I am using now:
Expand|Select|Wrap|Line Numbers
  1. <cfset session.SectionID = #SectionID#>
Any input would be appreciated.

Thank you.

Jun 24 '09 #1
Share this Question
Share on Google+
2 Replies

Expert Mod 15k+
P: 16,027
How about generating this unique ID after submission?
Jun 25 '09 #2

P: 2

The way i see it, you have two options.
1You can use the Client variable scope to save the Value ID like this
Expand|Select|Wrap|Line Numbers
  1. <cfset Client.SectionID = #SectionID# />
2. You can save the Value ID on the Client Side, using Hidden Field like this;
Expand|Select|Wrap|Line Numbers
  1. <input name="SectionID" value="#SectionID#" type="hidden" />
Hope it works, lol
Nov 14 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.