Hello. I am trying to maintain a session by setting a cookie. I would like to be able to share variables between different .php scripts. The intuitive way to do this seems to be:
session_start();
session_register("my_var"
$my_var = 5;
How do I access $my_var from another .php script (in a different file)? I don't want to include SID in the url, and I can't seem to get another script to recognize the variable from the first script.
Many thanks for any assistance.
Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com
session_start();
session_register("my_var"
$my_var = 5;
How do I access $my_var from another .php script (in a different file)? I don't want to include SID in the url, and I can't seem to get another script to recognize the variable from the first script.
Many thanks for any assistance.
Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com