[phplib] wondering From: Dennis Gearon (gearond <email protected>)
Date: 03/13/01

Anyone use hidden variables as the sessionID variable for a page?

Any comments on pro's and cons of that? I have been playing around with
it
and using another hidden variable in combination with a variable stored
in the data base to keep track of where a user is in a
transaction/information gathering process, using POST variables. I think
a clean URL and a thin session are the best for me. No cookies, keep
track of everything on the server side except for what the user is
trying to do with his request.

 The user can reload back pages, reload the page fresh with no POST
variables, and there is not confusion at all. I'm working on it using a
1-2 partition state table. One state tabledoes preprocessing based on if
Form vars are available or not, if the session var is there, and if the
state var is there. It should end up being a very clear way to map out
the behavior of a page under all conditions. And if other conditions
become possible, adding the tests and responses will be easy to map in.
It's laid out like Harel's state chart.

The second does post processing and responds to all the combinations of
A>Where the server has the session state at, and 2>What state the page
that the client is now submitting is in, how much/complete/valid the
data supplied.

Anyone like this/these idea/s?

-- 
________________________________________________________________
Sites by friends of mine: http://www.myhiddentreasures.com/
________________________________________________________________
WARNING personal propaganda signature
TAKE WHAT YOU LIKE AND LEAVE THE REST

SINCE OUR GOVERNMENT WON'T PRESERVE OUR CLIMATE, IT'S UP TO US! Imagine ** yourself ** and your kids now an endangered species <1>Inflate automobile tires to near maximum in summer, -2psi in winter <2>add insulation to house and hot water heater, and refrigerator, <3>combine trips in cars, make less of them <4>buy cars, sports vehicles and recreational vehicles with good if not best mileage <4>put awnings over windows is summer, remove in winter. <5> add solar hot water heating. <6>Push for energy recycling clothes dryers <7> walk more, play outside with your kids! <8> let your grass grow to 3-4 inches, chokes weeds, saves water and energy, keeps house cooler <9> Put WHITE or REFLECTIVE materials on roofs to send energy back into space. <10> Vote for burial of logging slash onsite in logging areas for better watersheds and less burned vegetation. <11> compost your leaves and grass, bury in flower beds, lawns, gardens, or give away. <12> VOTE for energy and CO2 ratings on ALL products and foods. KNOW how much damage your purchases do to the climate. <13> Give your kids less stuff and more of you. <14> recycle everything you can <15> limit your children to an average 1 per adult between all your marriages. (Only REPLACE yourself, not expand the population)

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>