hi 
try this

initiate session on proc.php
// init sessn
session_start();
                                        
// register session variblez ! ! ! ! 
session_register("SESSN");




chech for session set on sum_page.php

<?php
// sessn chk ! ! ! ! 
session_start();
if(!session_is_registered("SESSN"))
{
// sessn chk failed .... invoke error hndlr ! ! ! ! 
header("Location: /nologn.php");
exit();
}
        


the rest of ur code .....

?>


hope thid helps

good luck

toby ....


 --- Bobby Rahman <[EMAIL PROTECTED]> wrote: > 
> 
> Hiya,
> 
> Im running php4.2.3 on Win98 and apache 2.0.43.
> I am having troubles passing variables from page to page.
> I try to use:
> 
> session_start();
> session_register("test");
> 
> 
> when echo $test on a different page it seems to be empty
> when not called from within the page originally created.
> 
> I have session_start() on every page at the start just under the
> php syntax 
> <? and also register the variables which I want global.
> 
> I have edited the php.ini to set the session.save_path =
> "C:/windows/temp" 
> and also have global variables set on
> 
> 
> Any suggestions to what it may be as it doesnt seem to produce any
> errors.
> 
> 
> Thanks
> 
> _________________________________________________________________
> Express yourself with cool emoticons http://messenger.msn.co.uk
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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

Reply via email to