470,849 Members | 1,135 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

session of incomplete multi page order?

Jan
In a 2-page order form, not all applicants will complete it due to
field validations. If I want to see data from incomplete orders, can
this be done using some sort of session control so that each form page
data saved (each press on submit will save data to disk) will have a
session number attached to it?

Thus if the order log contains several line entries from submit
attempts, then I can locate the lines that belongs to the same order
based on this session ID?

Or is there another or more clever way?

Feb 27 '06 #1
2 1741
Jan wrote:
In a 2-page order form, not all applicants will complete it due to
field validations. If I want to see data from incomplete orders, can
this be done using some sort of session control so that each form page
data saved (each press on submit will save data to disk) will have a
session number attached to it?

Thus if the order log contains several line entries from submit
attempts, then I can locate the lines that belongs to the same order
based on this session ID?
This should work fine. Sessions are great to keep data from one page to
another. However, if you want to personally view the sessions, I would
store them in a database instead, as the session data can be quite cryptic.

Can you explain your intent again?

Or is there another or more clever way?

Feb 27 '06 #2
Jan
The intent is to see which order forms that were incomplete and the
values that was provided by the user for the incomplete submits. This
way we may contact the person if e.g. one of the contact fields were
filled out or improve the usability of the form.

We prefer not using a database on the server as that may ad more risk
of down time, thus storing data to a text file is likely a bit less
risky, thus I suppose the text file will have to contain some sort of
sessionID number on each text line in the file for us to indentify
which lines belong to the same order. (Down time risk: mySQL server may
be down, while PHP is still working).

Uptime is crucial for us due to volumes, if PHP is less stable than
Perl, maybe we should consider Perl for the forms, but Perl might not
support sessions?

Carl Vondrick wrote:
Jan wrote:
In a 2-page order form, not all applicants will complete it due to
field validations. If I want to see data from incomplete orders, can
this be done using some sort of session control so that each form page
data saved (each press on submit will save data to disk) will have a
session number attached to it?

Thus if the order log contains several line entries from submit
attempts, then I can locate the lines that belongs to the same order
based on this session ID?


This should work fine. Sessions are great to keep data from one page to
another. However, if you want to personally view the sessions, I would
store them in a database instead, as the session data can be quite cryptic.

Can you explain your intent again?

Or is there another or more clever way?


Feb 27 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by ZoombyWoof | last post: by
27 posts views Thread by mrbog | last post: by
3 posts views Thread by Efrain Flores | last post: by
13 posts views Thread by Alexander Widera | last post: by
7 posts views Thread by Mr Newbie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.