You register it just when you want to assign to it a value,
ie:
 page1.php
session_start();
session_register("username");

$username = "shawn";

page2.php
session_start();
echo "Welcome $username";

page3.php
session_start();
echo "Welcome again $username"


so basically, register once and use session_start() to retreive whatever
registered sessions!

-elias
http://www.eassoft.cjb.net

""shawn"" <[EMAIL PROTECTED]> wrote in message
003001bfb88d$d88bbfc0$[EMAIL PROTECTED]">news:003001bfb88d$d88bbfc0$[EMAIL PROTECTED]...
When using session_start () over alot of pages, do i need to reregister the
origional session?
example:

page1:session_start();
          session_register('data');

page2:session_start();

page3:session_start();
          session_register('data');

new to sessions, (no really), so thanks for the help, ill be going through
the manual while I wait :-)

Shawn




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to