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

In a shared hosting environment, session data can be read by PHP scripts written by any user. How can you prevent this? (Choose 2)
A . Store session data in a different location with session.save_path .
B . Store session data in a database.
C . Enable safe_mode.
D . Set session.name to something unique.

Answer: A, B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments