Raul
Raul

Reputation: 607

Does Apache save sessions

I am developing a PHP MySQL based web application. Now what I want is to monitor the web logging based on sessions.

Is there any way to customize the Apache log file so that it would capture PHP sessions?

Thank you.

Upvotes: 0

Views: 133

Answers (2)

Johni
Johni

Reputation: 2959

You can also write your own session handler: http://php.net/manual/de/function.session-set-save-handler.php

Upvotes: 0

웃웃웃웃웃
웃웃웃웃웃

Reputation: 11984

The default session.save_path is set to "". You can find out the current path with

session_save_path() — Get and/or set the current session save path

Upvotes: 1

Related Questions