scs Posted April 3, 2006 Share Posted April 3, 2006 I use dreamweaver so my code is corrent. I'm just not using the right code. I have the session started. When the user logs in I set some session variables. [code] $_SESSION['username'] = "sdgjksndgjsg"; [/code] Now my server uses php4. I'm not sure if that makes a difference. All those session variables are blank when I try to use them. Please respond quickly. I'm in a hurry to finish a project! Link to comment Share on other sites More sharing options...
jvrothjr Posted April 3, 2006 Share Posted April 3, 2006 [code]<?php session_start();session_register("User_ID");?>[/code]when you started your session did you register the variable name[code]<?php session_start();?> [/code]second did you start every page with session_start(); Link to comment Share on other sites More sharing options...
Recommended Posts