I keep running into a problem with passing form variables between
scripts using sessions.
I have a bunch of forms which contain four hidden variables,
mitemnum - item number
mdescrip - item description
mprice - item price
mprev - return url
Every time a user submits one of these forms, I add the current variable
to the end of an array. if I've submitted three forms, I have three elements
in each array.
Since this is a cart application I can show the cart with a formatted
printing of array elements.
I started storing my arrays in cookies but needed to use sessions since
some users have cookies turned off. Now I can't figure out how to maintain
state and maintain my arrays as globals throughout the session.
What's the trick?
Thanks.