Documentation

bitrix_sessid_post

string
bitrix_sessid_post(
$varname='sessid'
)

Function parameters

Parameter Description
varname Session ID

Returned value

Returns a string of the <input type="hidden" name="$varname" id="$varname" value="session ID" /> type.

Examples of use

Passing the session ID in the form

<form method="post" action="/news/add.php">
<?=bitrix_sessid_post()?>
Title: <input type="text" name="NAME" size="40" maxlength="255" value="">
</form>


© «Bitrix24», 2001-2024
Up