Validation
Test
Model Test
Ebook
Quiz 1 : CodeIgniter Basic
Quiz 2: CodeIgniter - Model, View, Controller
Index
CodeIgniter Home
Basic
93
Models
4
Validation
7
Schools
Ebook
Question:
Which data is contain in codeigniter session?
A
The user's unique Session ID
B
The user's IP address
C
The user's User Agent string
D
The "last activity" timestamp
Note:
Not available
Show answer
Show Note
Report
Question:
To add session data one item at a time, which code is used?
A
$this->session->set_userdata('item_name','item_value');
B
$data=array('username'=>'afzal', 'email'=>'afzal@yahoo.com','logged_in'=>TRUE); $this->session->set_userdata($data);
C
$data=array( 'username'=>'afzal', 'email'=>'afzal@yahoo.com','logged_in'=>TRUE);
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
Which code is used to remove a single session item?
A
$this->session->unset_userdata('username');
B
$this->session->destroy_userdata('username');
C
$this->unset_userdata('username');
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
Which code is used to remove multiple session items ?
A
$items=>array('username'=>'','email'=>'');
$this->session->unset_userdata($items);
B
$this->session->sess_destroy();
C
$this->session->unset_userdata();
D
$this->session->unset();
Note:
Not available
Show answer
Show Note
Report
Question:
Which code is destroy session?
A
$this->session->sess_destroy();
B
$this->session->unset_userdata();
C
$this->session->unset();
D
None
Note:
Not available
Show answer
Show Note
Report
Question:
Which is the validation rule?
A
required
B
alpha
C
numeric
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
How many prepping rules are available?
A
Five
B
Ten
C
Seven
D
Four
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
Next
Last
/1
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd