How do you register one session ?
Answers were Sorted based on User's Feedback
Answer / harjeet
session_register()
e.g.
$user="Username";
session_register("user");
or more preferred way is
$_SESSION['user']="username";
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / modi[achir communication]
session_register($session_var);
$_SESSION['var'] = 'value';
| Is This Answer Correct ? | 2 Yes | 0 No |
How to create a table using php?
What is the main difference between require() and include()?
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
How can we check the value of a given variable is a number?
What are escaping characters?
What is if isset ($_ post submit )) in php?
When you will get the error "Cannot add header information"?
Why post method is used in php?
What does isset() function?
How can we get second of the current time using date function?
hi sir am kiran kumar finished my mca 2009 passed out sir .. i have more doubts regarding open source technologies sir if we pass zend exam in php can we get a job opportunity in foreign countries sir and is it good demand for php compared to dot net and java and some other technologies like sap , erp sir bcoz my friends saying they are finished dot net and java courses they telling in php we cannot earn more and we cannot go onsite opportunity even big companies not dealing with php is it right ah sir ? please send ur valuable suggestions to my email sir kiranpulsar2007@gmail.com please send ur phone number also sir thanking u sir
What is Apache's configuration file typically called?