I think you might need to session_register () the variables on each page
you want to use them, not just once per session.
Doug Budny wrote:
I'm having a strange problem with sessions, it appears that they are
not propagating to the next page. When I run the login page the sess
vars get
mine is alot simpler and works fine, try this.
?php
session_start();
if (!isset($HTTP_SESSION_VARS['SessionID']))
{
$SessionID = mtime();
session_register('SessionID');
}
?
--
Chris Lee
Mediawaveonline.com
em. [EMAIL
I dont have to call session_register() on every page, should have to, just
call session_start() thats it.
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Michael McGlothlin" [EMAIL PROTECTED] wrote in message
[EMAIL
Basically I'm trying to get 3 session vars on a page in a sub directory,
clientid, clientname and rnum. I do a session_start() at the beginning of
every page, I also do a session_id($HTTP_COOKIE_VARS['sessId']) on each
page, with the sessid being the same. But when I do "echo session_id()"
4 matches
Mail list logo