HTTP_Session2
[ class tree: HTTP_Session2 ] [ index: HTTP_Session2 ] [ all elements ]

Class: HTTP_Session2_Container_Interface

Source Location: /HTTP_Session2-0.7.3/HTTP/Session2/Container/Interface.php

Class Overview


Container class for storing session data data


Author(s):

Version:

  • Release: @package_version@

Methods


Inherited Variables

Inherited Methods


Class Details

[line 57]
Container class for storing session data data


[ Top ]


Method Detail

close   [line 74]

void close( )

close
  • Access: public

[ Top ]

destroy   [line 102]

void destroy( string $id)

destroy
  • Access: public

Parameters:

string   $id   —  The session ID.

[ Top ]

gc   [line 111]

void gc( int $maxlifetime)

gc
  • Access: public

Parameters:

int   $maxlifetime   —  The session's maximum lifetime.

[ Top ]

open   [line 67]

void open( string $save_path, string $session_name)

open
  • Access: public

Parameters:

string   $save_path   —  Path to save sessions in.
string   $session_name   —  Name of the session.

[ Top ]

read   [line 83]

void read( string $id)

read
  • Access: public

Parameters:

string   $id   —  The session ID.

[ Top ]

replicate   [line 122]

boolean replicate( string $target, [string $id = null])

Replicate session data to specified target
  • Access: public

Parameters:

string   $target   —  Target to replicate to
string   $id   —  Id of record to replicate, if not specified current session id will be used

[ Top ]

write   [line 93]

void write( string $id, string $data)

write
  • Access: public

Parameters:

string   $id   —  The session ID.
string   $data   —  The data to save/write.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:37:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.