Before I get into any of this, you will have to explain:
1 What kind of site is it: ie why do users need to login in the first place
2 Why does it matter if they have to enter their password each time they visit
3 why are you not using .htaccess: the best method of securing a page or site
Sessions uses cookies, that is how the server tracks the client session
You can not create a cookie server-side
Have you thought through your problem and solution properly. If you are having trouble implementing something in code it is always because you have not analysed the problem properly; that is why I am asking the questions above.
THINK, am I trying to solve the right problem in the first place?