Hi,
I want to migrate a survey program to web application and have selected
PHP to use a on the server end along with apache and firebird rdms. As
developing a web application is much different than a standard app I
have some questions:
1) The survey has 50 questions with answers being 1-10. Is it best to
store all 50 questions and corresponding answers in a javascript array
and then up all in a batch update? The downside to this approach is the
user could lose all responses to survey questions if the client computer
web browser crashed.
2) After authenticating the user, how do I keep track of the rating
session to guard it from hacking? Do I just store the username in a
javascript variable since there is really no constant connection to the
server?
TIA,
Dan
I want to migrate a survey program to web application and have selected
PHP to use a on the server end along with apache and firebird rdms. As
developing a web application is much different than a standard app I
have some questions:
1) The survey has 50 questions with answers being 1-10. Is it best to
store all 50 questions and corresponding answers in a javascript array
and then up all in a batch update? The downside to this approach is the
user could lose all responses to survey questions if the client computer
web browser crashed.
2) After authenticating the user, how do I keep track of the rating
session to guard it from hacking? Do I just store the username in a
javascript variable since there is really no constant connection to the
server?
TIA,
Dan
Comment