I have been trying 2 get sessions 2 work for several days now and it just wont work!
Fisrtly i try the following (from the PHPbuilder Articles area);
=====page1.php====
<?php
session_start();
$my_session_variable = "some value";
session_register("my_session_variable");
?>
=====page2.php=====
<?php
session_start();
print "Value of 'my_session_variable': $my_session_variable";
?>
===========
.... and the value of the my_session_variable does not appear! Anyone know how i can get them to work as im getting increasingly annoyed🙁 The stupid thing is, it cant be a php or my server problem as i have installed other software which uses sessions🙁
Any help🙁 Perhaps a handy example of a session program that works🙂
Jonathan