Advanced php tutorials
Advanced PHP tutorials experts
Labels
php
MySQL
Wordpress
codeigniter
htaccess
jQuery
Apache
Tech Updates
Javascript
CSS
HTML
interview questions
SVN
Drupal
Pages
Home
Free Wordpress themes
Free Hosting
Create online API for Mobile App
Check Session is Set or Not in Codeigniter ?
As per CodeIgniter Documentation If Session in not set it return FALSE .
if ($this->session->userdata('variable') !== FALSE) {
echo 'Variable is set';
} else {
echo 'Variable is not set';
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment