could any one explain how does the session in moodle work? i'm looking at the db and i am seeing that userid is used to identify the user sessions .and since i want to use moodle's existing login authentiation then on every page i'll put this
<?php
session_start();
?>
o do i have to put something else ..