You are here

public function SessionProxy_Backend_Default::isWriteEnabled in Session Proxy 7

Is session write enabled.

Return value

bool

Overrides SessionProxy_Backend_Interface::isWriteEnabled

1 call to SessionProxy_Backend_Default::isWriteEnabled()
SessionProxy_Backend_Default::writeProxy in lib/SessionProxy/Backend/Default.php
Session write proxy that will allow us to disable session writing if we are master of the storage.

File

lib/SessionProxy/Backend/Default.php, line 53

Class

SessionProxy_Backend_Default
Default implementation relies on a custom storage engine.

Code

public function isWriteEnabled() {
  return $this->doWrite;
}