Thread: session query?
View Single Post
Old 12-21-2007, 01:19 PM   #1 (permalink)
Blackbrain
The Visitor
 
Blackbrain's Avatar
 
Join Date: Oct 2007
Posts: 4
Thanks: 1
Blackbrain is on a distinguished road
Default session query?

Hey could somebody tell me the difference between:

Code:
session_register("varname");
and

Code:
$_SESSION["varname"];
I have read in some websites, that using the $_SESSION is better than session_register. Why? and what are the drawbacks of both of them.
Blackbrain is offline  
Reply With Quote