1. 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
    1. Report
  2. 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
    1. Report
  3. 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
    1. Report
  4. 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
    1. Report
  5. 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
    1. Report
  6. Question: Which is the validation rule?

    A
    required

    B
    alpha

    C
    numeric

    D
    All

    Note: Not available
    1. Report
  7. Question: How many prepping rules are available?

    A
    Five

    B
    Ten

    C
    Seven

    D
    Four

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd