Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Online Practice Test
>
PHP
« Previous
Next »
How do we start a php session?
Options
- Using session_start()
- Using session_register()
- Using the variable $_SESSION
- Using session_set()
CORRECT ANSWER : Using session_start()
Discussion Board
Start a PHP session
Answer : session_start()
session_start() creates a session or resumes the current one based on a session identifier. It must be the first thing sent to the browser, or it won't work properly.
It is the default syntax to start a PHP session.
Syntax :
session_start()
IamJay 02-9-2015 11:14 PM
« Previous
Next »
Write your comments
*
*
Email must be in the form someone@domain.com
*
*
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
Related Content
PHP (39)
DHTML (10)
CSS (21)
MySQL (20)
VLSI (9)
XML (28)
UML (11)
HTML (19)
Fedora (61)
HTML5 (60)
Android (100)
Advertisement
▲