How do you register one session ?

Answer Posted / modi[achir communication]

session_register($session_var);
$_SESSION['var'] = 'value';

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between PHP4 , PHP5

1912


What is the major php security hole? How to avoid?

563


Where to put php files in apache server?

516


How to test if a variable is an array?

572


What is strlen function in php?

526






Does php use html?

488


Tell me what are magic methods?

540


Tell me how to create a text file in php?

556


How come the code works, but doesn’t for two-dimensional array of mine?

610


Explain mail function in PHP with syntax?

571


What are the different loops in php?

551


What is the use of mysql_real_escape_string in php?

465


What is the definition of a session?

542


What is class extend in php?

548


Does php support multithreading?

564