Can’t find an answer?

Can’t find an answer?

Ask us to get the answer

  • This forum is empty.

What is the default time(in seconds) for which session data is considered valid?

(a) 1800

(b) 3600

(c) 1440

(d) 1540

I had been asked this question in an international level competition.

The above asked question is from Session Handling-1 in section File and Session Handling in PHP of PHP

  • PHP
  • October 21, 2023 at 5:06 am

What is the default number of seconds that cached session pages are made available before the new pages are created?

(a) 360

(b) 180

(c) 3600

(d) 1800

This question was addressed to me in exam.

The question is from Session Handling-1 topic in portion File and Session Handling in PHP of PHP

  • PHP
  • October 4, 2023 at 5:06 am

Neglecting to set which of the following cookie will result in the cookie’s domain being set to the host name of the server which generated it.

(a) session.domain

(b) session.path

(c) session.cookie_path

(d) session.cookie_domain

The question was asked during an interview.

The question is from Session Handling-1 topic in section File and Session Handling in PHP of PHP

  • PHP
  • November 14, 2023 at 5:06 am

If the directive session.cookie_lifetime is set to 3600, the cookie will live until ____________

(a) 3600 sec

(b) 3600 min

(c) 3600 hrs

(d) the browser is restarted

I got this question at a job interview.

Query is from Session Handling-1 in portion File and Session Handling in PHP of PHP

  • PHP
  • October 28, 2023 at 5:06 am

If session.use_cookie is set to 0, this results in use of _____________

(a) Session

(b) Cookie

(c) URL rewriting

(d) Nothing happens

This question was addressed to me in semester exam.

The above asked question is from Session Handling-1 topic in section File and Session Handling in PHP of PHP

  • PHP
  • October 16, 2023 at 5:06 am

Which one of the following is the default PHP session name?

(a) PHPSESSID

(b) PHPSESID

(c) PHPSESSIONID

(d) PHPIDSESS

This question was addressed to me at a job interview.

This is a very interesting question from Session Handling-1 in portion File and Session Handling in PHP of PHP

  • PHP
  • September 2, 2023 at 5:06 am

How many ways can a session data be stored?

(a) 3

(b) 4

(c) 5

(d) 6

I had been asked this question in homework.

My query is from Session Handling-1 topic in division File and Session Handling in PHP of PHP

  • PHP
  • September 23, 2023 at 5:06 am

Which directive determines how the session information will be stored?

(a) save_data

(b) session.save

(c) session.save_data

(d) session.save_handler

The question was asked in unit test.

This intriguing question comes from Session Handling-1 in portion File and Session Handling in PHP of PHP

  • PHP
  • September 12, 2023 at 5:06 am

Which one of the following is the very first task executed by a session enabled page?

(a) Delete the previous session

(b) Start a new session

(c) Check whether a valid session exists

(d) Handle the session

This question was posed to me by my college director while I was bunking the class.

Query is from Session Handling-1 topic in division File and Session Handling in PHP of PHP

  • PHP
  • October 17, 2023 at 5:06 am

Which of the following statements is used to add an attachment to the mail?

(a) $mimemail->attachment(‘attachment.pdf’);

(b) $mimemail=>attachment(‘attachment.pdf’);

(c) $mimemail->addAttachment(‘attachment.pdf’);

(d) $mimemail=>addAttachment(‘attachment.pdf’);

The question was posed to me by my college professor while I was bunking the class.

My question is based upon Networking with PHP topic in section File and Session Handling in PHP of PHP

  • PHP
  • August 20, 2023 at 5:06 am

Viewing 6 topics - 316 through 330 (of 485 total)

1 2 3 21 22 23 31 32 33
  • You must be logged in to create new topics.