473,569 Members | 2,737 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1867
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
8302
by: ZoombyWoof | last post by:
Hi. Im very new to php, and I have a problem here that I cant find the solution for. I have problems with session variables, I want some variables to maintain their value between different php script that is being called. I have read the online manual, and here is an example from it that doesnt work for me, it illustrates very well my problem....
27
7093
by: mrbog | last post by:
Tell me if my assertion is wrong here: The only way to prevent session hijacking is to NEVER store authentication information (such as name/password) in the session. Well, to never authenticate a user from information you got from the session. Each secure app on a site must challenge the user for name and password, each and every time the...
6
5419
by: Ilia | last post by:
Hi folks, I have some problems with ASP.NET Session State. The following simple program runs well if the Session State set as "InProc". If I switch to "SQLServer", the changes, made by the second thread, are lost. Any idea? I use VS.NET 2003 on Windows Server 2003 with hot fixes (as of 30-Oct-2003) and SQL Server 2000 SP 3a.
2
2377
by: Boban Dragojlovic | last post by:
I'm building a complex web-based reservations system. Gathering the user's data requires between 8 and 15 pages (depending on which options they are interested in). I use the "Session" object to store the various elements as the user moves through the pages. Rather than storing the preferences directly in the Session object (e.g....
3
1386
by: Efrain Flores | last post by:
Hi I am experimenting session problems in ASP.NET. I am developing a data entry system composed of 3 different aspx pages. The values entered on the form fields are stored in sesion variables. These values are saved when the user presses the Next page button. This applies for the 3 pages. Once they are complete, I empty the values of the...
13
2804
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i visit again .... null ... again .... it works ..... again ... it works ... again ..... null....... and so on and on .... it does randomly work or...
7
2033
by: Mr Newbie | last post by:
I have written a Custom Control Menu. Its fairly simple but it works well enough. In order to simplify things I decided to store the Menu1 custom control in Session. In the page load event below, it retreives the Menu from session and assigns its reference to Menu1. Within the Page_Load event I can see its internal values which have been...
14
2176
by: Coleen | last post by:
Hi All :-) We have an APSX application using VB.net as the code behind, which uses one or two session variables per page. These Session variables are passed to the final page and calculations and summaries are done there. In order for all of the values to appear on the last page, the user has to view each page that has a session variable...
43
3388
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
0
7614
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7676
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7974
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1221
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.