lib/smart_session/mysql2.rb
# create a new session with given +session_id+ and +data+
# and save it immediately to the database
create a new session with given +session_id+ and +data+
and save it immediately to the database
create a new session with given + session_id + and + data + and save it immediately to the database
def create_session(session_id, data)
        session_id = escape(session_id)
        new_session = new(session_id, data)
        new_session
      end
def create_session ( session_id , data ) session_id = escape ( session_id ) new_session = new ( session_id , data ) new_session end
create a new session with given +session_id+ and +data+
and save it immediately to the database
create a new session with given + session_id + and + data + and save it immediately to the database
session_id
data