Guys Guys Guys...
I'd expect more from you!
Mark: Capital letters in variable names makes no difference. If it DID, then shame on PHP's authors. I've had capital letters work just fine for session variables as well as any other type of variable. Thanks for replying, though. Your input is still appreciated.
Majik-sheff: The database code is just a recordset type class that makes interfacing with the mssql database a little easier (for lazy people like myself 😉. You can snag it at http://www.zend.com/codex.php?id=53&single=1
Additionally, using !$variable is the same thing as using "if ($variable == '')". '' is the same thing as null, after all NULL means null, right? Thats not quite the problem, all the code shown works fine except for that dealing with the session variable. I merely included that code to show that I'm calling session_register from within a function.
Also, I have tried calling session_start() before session_register(). It makes no difference either way. In fact, I believe session_register() implicitly calls session_start() anyway, am I correct?
My immediate problem is that session_register is registering the variable name, but it is not registering the value I assign to it. Does anyone know of any possible reason why this would occur? It cannot be overwritten someplace, because that place in the code is the only place I attempt to register or assign value to that variable anywhere on any of my scripts.