Kiran Sonawane
asked on
Create survey project
Hello experts,
I have project of survey containing 1000 questions. 25 questions per page. I want store the survey in database at last page. So how can I maintain the values since I need to store the value only after last page. Which strategy is better like Session, cache, querystring OR any else?
OR Put your better ideas
I have project of survey containing 1000 questions. 25 questions per page. I want store the survey in database at last page. So how can I maintain the values since I need to store the value only after last page. Which strategy is better like Session, cache, querystring OR any else?
OR Put your better ideas
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for you answers. I have tables for question and their options. I don't want to store in database periodically. We are showing all 1000 questions, 25 questions per page. I want to store in database when the user hits button "Complete Survey" which is at last page of survey. I can do this with temporary tables as @kswathi said. We can also do with session, cache objects. Whats the better idea? If I use session object and 1000 users doing the survey then is it feasible solutions to create 1000 session or cache objects for users. That is what I mean?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Me too feel so sorry for end users but I couldn't help them :). Looks like you both guys recommend for temporary tables. Lets see what other experts suggest. Thanks!!!
hi,
For the survey project are you using any wizard control to load the pages & questions appear??
if you are using a wizard control then you can create a data table and add values for each next page & in last page you can commit to db using table valued parameters.
Hope it helps.
For the survey project are you using any wizard control to load the pages & questions appear??
if you are using a wizard control then you can create a data table and add values for each next page & in last page you can commit to db using table valued parameters.
Hope it helps.
ASKER
Thanks!!!
How many questions are you actually presenting to the user in total, 25 out of 1000?
How are you storing the 1000 question you have now?