This function creates a directory for a specific session ID within a specified temporary directory. If the directory already exists, it does nothing.

create_session_dir(session_id, temp_dir)

Arguments

session_id

Character. Unique identifier for the session.

temp_dir

Character. Path to the temporary directory where the session directory will be created.

Value

NULL. The function is called for its side effect of creating a directory.