I know this my sound stupid but here it goes......

Can sessions be used to pass variables from one page to the next to create
persistent data? I have this working to a certain extent but can only pass a
variable to my second page, but not from my second page onto the third. Also
in my second page I cannot change the value of this variable i.e. bob = 100
on page 1, in page 2 I can display bob equalling 100 but then I want to a)
alter the value of bob to 50 and b) send bob and its new value to third
page. Can this be done by using sessions?

Also how do you pass the session id of one page onto the next? do you pass
it on the end of the page reference e.g. 

echo "<FORM METHOD=GET ACTION='msltest3.php'.SID.>";

Any help would be grateful even if it was to tell me that I have got the
wrong idea about sessions altogehter.



The information contained in this e-mail is intended only for the
confidential use of the above named recipient. If you are not the intended
recipient or person responsible for delivering it to the intended recipient,
you have received this communication in error and must not distribute or
copy it.  Please accept the sender's apologies, notify the sender
immediately by return e-mail and delete this communication.  Thank you. 

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to