open ( $save_path, $session_name )

Open a session for writing. Triggered by session_start().

Part of the standard PHP session handler interface.

Access

public

Parameters

Parameter

Type

Required

Description

$save_path

string

Required

The session save path (see session_save_path()).

$session_name

string

Required

The session name (see session_name()).

Returns

Type

Description

boolean

Whether or not the operation succeeded.

Source

Method defined in extensions/dynamodbsessionhandler.class.php | Toggle source view (8 lines) | View on GitHub

public function open($save_path, $session_name)
{
    $this->_save_path    = $save_path;
    $this->_session_name = $session_name;
    $this->_open_session = session_id();

    return true;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback