Save the session data to storage.

@return void
10017
public function save() {
		if ( ! $this->started ) {
			return;
		}

		$this->age_flash_data();

		/* @noinspection PhpParamsInspection */
		$this->handler->write( $this->get_id(), $this->attributes );

		$this->started = false;
	}
11870
public function save() {
        foreach ($this->resRules as $i) {
            $i->save($this->res->getAclUrl());
        }
    }
702004
public function save()
	{
		if ($this->hasEventHandler('onBeforeSave')) {
			$this->onBeforeSave(new CEvent($this));
		}
		$this->flush();
		if ($this->hasEventHandler('onAfterSave')) {
			$this->onAfterSave(new CEvent($this));
		}
	}
645207
public function save()
    {
        if ($this->_isSaved) {
            $this->update($this->id);
        } else {
            $this->id = $this->insert();
            $this->_isSaved = true;
        }
    }
832384
protected function saveData()
    {
        parent::saveData();

        $this->user->setPasswordResetRequired(false);
        $this->loginStatusTracker->setPasswordResetActive(false);
    }
320342
public function save()
    {
        if (!$this->url)
        {
            $response = $this->upload();
            $this->url = $response['url'];
            $this->name = $response['name'];
        }

        return true;
    }
125930
public function save()
    {
        $data = $this->arrayCache->getData();

        // Do save in case we have at least one change in configuration
        if ($this->arraySignature->hasChanged($data)) {
            if (!$this->write()) {
                return false;
            }
        }

        return true;
    }
1158233
public function save()
    {
        $file = $this->getFilename() . '.' . $this->getFileExtension();

        // Add save path if given
        if (null !== $this->savePath) {
            $file = $this->savePath . $file;
        }

        file_put_contents(
            $file,
            $this->getOutput()
        );
    }
105108
public function save()
    {
        try {
            if (isset($this->data['_id'])) {
                $this->data = array_merge($this->data, $this->chill->put($this->_id, $this->data));
            } else {
                $this->data = array_merge($this->data, $this->chill->post($this->data));
            }

            return true;
        } catch (Chill\Exception $ex) {
            return false;
        }
    }
12629
public function save()
    {
        if ($this->validate() && (bool)$this->getUser()->updateAttributes(['nickname' => $this->nickname])) {
            return $this->getUser();
        }
        return false;
    }
591060
protected function saveData()
    {
        $resultSet = 0;
        if($this->request->isPost()) {
            $this->_form->populate($this->request->getPost());
        }
        if ($this->_saveButton->isChecked() && $this->_form->isValid($this->request->getPost())) {
            $data = $this->_form->getValues();
            $data['name'] = '';
            $data['type'] = $this->_('raw');

            $model = $this->getModel();
            $this->result = $model->runScript($data, true);
        }
    }
560145
public function setSessionData ()
	{
		
		$arr	= $this->toArray ();
		
		$arr['login_timestamp']	= $this->loginTimestamp;
		$arr['last_action']		= $this->lastAction;
		
		$this->session ()->set (get_called_class (), serialize ($arr));
		
	}
903359
public function save()
    {
        $contents = $this->getForStorage();

        $this->repository->put($this->key, $contents, $this->expire);
    }
788288
protected function save()
	{
		$xml     = new SimpleXMLElement('<storage/>');
		$content = $this->getContent();
		array_to_xml($content, $xml);
		$this->file->setContent($xml->asXML());
	}
84748
public function save()
    {
        $data = serialize($this->toArray());

        $this->store->put($this->id, $data);
    }
630429
def save(self):
        
        try:
            with open(self._filename, 'wb') as session_file:
                session_file.write(self.dumps())
        except IOError as error:
            LOGGER.error('Session file error: %s', error)
            raise error
489737
public function save()
	{
		if (self::$file_added)
			file_put_contents($this->getFileListName(), '<?php return ' . var_export(self::$files[$this->prefix], true) . ';');

		self::$file_added = false;
	}