In that case, you need a session cookie - like what this site does, that is why you dont need to login everytime you visit.
What language are you using for your work?
Here is a good example:
<?php session_set_cookie_params('86400'); // 1 week session_start();You can alternatively try setting it from your .htaccess file
The session is automatic, another alternative is to use this library - https://github.com/delight-im/PHP-Cookie
Sometimes, I just use Cookie only and dont bother with sessions too much - or may mix both, depending.
My code are not showing
I no sabi wetin happen to your codes o!