[eluser]markup2go[/eluser]
Code:
<?php #echo $username; ?><br>
<?php #echo $password; ?><br>
The # isn't valid code. If you are developing you could open the main index.php file and have at the top:
Code:
ini_set('display_errors', 1);
error_reporting(E_ALL);
Or you can enable logging. I'm sure seeing the syntax error would have assisted you faster.
Also, you'll want to use the following syntax when passing single values for the session's userdata:
Code:
$this->session->set_userdata('some_name', 'some_value');
Or you can pass an array with keys/values.