nerdexam
Zend

200-530 · Question #43

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this?

The correct answer is B. Store session data in a database. See the full explanation below for the reasoning.

Question

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this?

Options

  • AStore session data in a different location with session. save_Path .
  • BStore session data in a database.
  • CEnable safe_mode .
  • DSet session.name to something unique.

How the community answered

(16 responses)
  • A
    13% (2)
  • B
    81% (13)
  • D
    6% (1)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice