1. Question: The client’s IP address is

    A
    $_SERVER['REMOTE_ADDR']

    B
    $_SERVER['REMOTE_addr']

    C
    $_SERVER$_REMOTE_ADDR

    D
    $_SERVER() { 'REMOTE_ADDR' }

    Note: Not available
    1. Report
  2. Question: To know your IP address what will you select?

    A
    <?php printf("your IP address:%s",$_SERVER['HTTP_USER_AGENT']); ?>

    B
    printf("your IP address:%s",$_SERVER['REMOTE_ACCEPT']);

    C
    printf("your IP address:%s",$_SERVER['REMOTE_POST']);

    D
    printf("your IP address:%s",$_SERVER['REMOTE_ADDR']);

    Note: Not available
    1. Report
  3. Question: For knowing the path of the URL__

    A
    <?php printf("your IP address:%s",$_SERVER['REQUEST_URI']); ?>

    B
    printf("your IP address:%s",$_SERVER['HTTP_USER_AGENT']);

    C
    printf("your IP address:%s",$_SERVER['HTTP_HOST']);

    D
    printf("your IP address:%s",$_SERVER['HTTP_USER_ACCEPT]);

    Note: Not available
    1. Report
  4. Question: All data via the World Wide Web using HTTP, is a stateless protocol.

    A
    True

    B
    False

    Note: Not available
    1. Report
  5. Question: Stateless protocol mean each request is processed without any knowledge of any prior or future request.

    A
    True

    B
    False

    Note: Not available
    1. Report
  6. Question: The practice of storing bits of information on the client's machine is commonly called ______.

    A
    cookie

    Note: Not available
    1. Report
  7. Question: Which of the following are the limitations of using cookie to implement stateful web application?

    A
    cookie size

    B
    the number of cookies allowed

    C
    capacity

    D
    scope

    Note: Not available
    1. Report
  8. Question: The volatile memory option is the fastest for managing session data.

    A
    True

    B
    False

    Note: Not available
    1. Report
  9. Question: Which of the followng is the correct session related directive to enable session throughout the site?

    A
    session_auto_start=1;

    B
    session.auto_start=1

    C
    session.start=1

    D
    session.autostart=1

    Note: Not available
    1. Report
  10. Question: Which of the following session directive is for setting the session cookie lifetime?

    A
    session.cookie_lifetime=time

    B
    session.cookie_lifetime=integer

    C
    session_cookie_lifetime=datatime

    D
    session.cookie_lifetime=time

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