I have a form and I need to pass the session value via post method. I'm using the code below, but it's not working.
<input type="hidden" name="cod_usuario" value="<?php session_start(); $_SESSION['login']; ?>" class="input-medium" id="txtFuncionario" title="Nome do Funcionário"/>