When a user logs in and then closes their browser and reopens the website they have to log-in again - the data isn't saved.
How to have them always logged in?
Thanks.
XFileSharing Pro - Users are not logged in
-
- Posts: 94
- Joined: Jan 18, 2009 4:29 am
-
- Posts: 94
- Joined: Jan 18, 2009 4:29 am
uploaderz wrote:It's like that on any computer I use, cookies are enabled on all of them.
You close the window and then if you reopen you need to log in again.
in index.cgi find CheckAuth function and remove from it:
Code:
Code: Select all
$ses->setCookie( $ses->{auth_cook} , $sess_id );
-
- Posts: 94
- Joined: Jan 18, 2009 4:29 am
cuty wrote:uploaderz wrote:It's like that on any computer I use, cookies are enabled on all of them.
You close the window and then if you reopen you need to log in again.
in index.cgi find CheckAuth function and remove from it:
Code:Code: Select all
$ses->setCookie( $ses->{auth_cook} , $sess_id );
nice share