Date: 09/29/00
- Next message: Sanlong Irvan: "[phplib] GD problemssss"
- Previous message: John Sutton: "[phplib] encoding_mode=slashes problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Customer 24ty843 in it one of the following:
SITE USAGE TRANSACTION
S1-Waiting for selection
or addition of transaction
and identification of customer
REFUND TRANSACTION PURCHASE TRANSACTION COMPLAINT TRANSACTION
State1-Waiting for S1-Waiting for login S1-Waiting for selection of
login S2-Waiting for category of complaint type
State2-Waiting for selection S2-Waiting for complaint
first from to S3-Waiting for selction text.
be filled for info or add to S3-Waiting for approval
State3-Waiting for shopping cart. of filled in complaint
second form to S4-waiting for delivery form.
be filled information or
State5-Waiting for approval of stored
RMA issuance delivery information
State6-Waiting for S5-waiting for pmt info
product replace S6-waiting for approval
ment information of pre checkout
State(6A)-WAiting for receipt
database of S7-Waiting for payment
current products approval and final
to check if receipt
replacement is (S7A) waiting credit
avail. card or accounting
State(6B)-Waiting fro approval
Customer to say if
replacement, substitute,
or refund is desired
blah blha blah
multiple transactions can be kept in the database. I would make the
trasactions be
objects and the states be part of a 'literal array'. I would use a State
Transition Diagram to navigate through the states and event. I think
there should be timeouts on different transactions. If necessary, email
the client and tell them that such and such transaction in proces is
going to expire.
The transactions are serialized objects stored in the database. In
changing the web page, the transactions that are pending would be
expired and email automatically sent. Alternatively, the transactions
could be tied to a 'traslation' scheme when a new replacement is made.
Maxim Maletsky wrote:
>
> Hi Dennis, this seems to be an interesting solution, could you please tell
> me about it more?
> with some codes, examples perhaps.
>
> Thanks in advance.
>
> -----Original Message-----
> From: Dennis Gearon [mailto:gearond <email protected>]
> Sent: Friday, September 29, 2000 6:34 AM
> To: php-general <email protected>
> Subject: Re: [PHP] VERY IMPORTANT: Sessions in Pages with a Form!
>
> Has anyone thought of putting a 'state variable' plus a 'session-id'
> plus a 'transaction type' in the cookie/post/get data? If someone backs
> up with the browser, the cookie/get/post would reflect where they were
> in the transaction and either step it back or reprint where they were
> with a button that says, "do youreally want to go back?"
>
> Also, couldn't this state be kept in the sesssion data base and just
> referenced via the session number?
> --
> ________________________________________________________________
> Dennis K. Gearon (Kegley) Loyal Member
> Scientific Instrument Technician, School of ETM of The
> Oregon Institute of Technology Order of
> - One of USA's Best College Buys TUX
> 3201 Campus Drive ~
> Klamath Falls, OR 97601 'v' standards
> Voice 1-541-885-1563 // \\ corrupters:
> FAX 1-541-885-1689 /( )\ ^phear^
> email gearond <email protected> ^`~'^ the penguin
> ________________________________________________________________
> Happiness is when you want to go to your job in the morning and
> when you want to go home in the evening.
> ________________________________________________________________
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
-- ________________________________________________________________ Dennis K. Gearon (Kegley) Loyal Member Scientific Instrument Technician, School of ETM of The Oregon Institute of Technology Order of - One of USA's Best College Buys TUX 3201 Campus Drive ~ Klamath Falls, OR 97601 'v' standards Voice 1-541-885-1563 // \\ corrupters: FAX 1-541-885-1689 /( )\ ^phear^ email gearond <email protected> ^`~'^ the penguin ________________________________________________________________ Happiness is when you want to go to your job in the morning and when you want to go home in the evening. ________________________________________________________________--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>
- Next message: Sanlong Irvan: "[phplib] GD problemssss"
- Previous message: John Sutton: "[phplib] encoding_mode=slashes problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

