PDA

View Full Version : PHP question



Simran
01-02-2009, 06:52 AM
Hello,
Where is PHP session Stored? Please reply me i'm waiting for your reply.

Thanks:p

Shadab
01-05-2009, 02:05 PM
The PHP Session variables are stored in the server.
Which can be accessed only by the user that created it.

COOKIE -> Client Side
SESSION -> Server Side

Doug
01-22-2009, 02:10 AM
The client-side tracking of the session can be done using GET variable instead of cookies. But stick with cookies since passing session IDs through the URL isn't very secure.

The directory in which session files are stored on the server is defined on php.ini (session.save_path). But I'm not sure of what you can do with them.