hmm can we make remember me feature?

Powerfull XFileSharing version

Moderator: admin

Message
Author
hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm
Contact:

hmm can we make remember me feature?

#1 Postby hscorp » May 24, 2009 11:22 pm

hmm can we make remember me feature?

or even make users doesnt need to login every time they open the browser

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » May 26, 2009 9:42 am

Yes. Take index.cgi from the latest distributive in client area.

abboodeh
Posts: 94
Joined: Jan 23, 2009 6:31 pm

#3 Postby abboodeh » May 26, 2009 11:56 am

this fix applies to every client area or only hscorp ?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » May 26, 2009 1:44 pm

Every :)

abboodeh
Posts: 94
Joined: Jan 23, 2009 6:31 pm

#5 Postby abboodeh » May 26, 2009 4:24 pm

but this will miss up my mods....:(

anyway, thanks Pilgrim

hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm
Contact:

#6 Postby hscorp » May 26, 2009 5:04 pm

try this

in index.cgi find CheckAuth function and remove from it:

Code: Select all

$ses->setCookie( $ses->{auth_cook} , $sess_id );


found it on old topic

http://www.sibsoft.net/forum/1-stay-log ... -t945.html

abboodeh
Posts: 94
Joined: Jan 23, 2009 6:31 pm

#7 Postby abboodeh » May 26, 2009 9:37 pm

Thanks man!

it's perfectly working :)

i appreciate it really :)

jeyul
Posts: 51
Joined: Feb 17, 2009 8:14 am

#8 Postby jeyul » May 28, 2009 8:48 am

It doesn't do the trick for me. In fact, I can't find the phrase in my index.cgi .

abboodeh
Posts: 94
Joined: Jan 23, 2009 6:31 pm

#9 Postby abboodeh » May 28, 2009 11:39 am

i restored the old one, somehow the site didn't log me out even if i clicked on log out, so i removed it...

back to same old situation...

hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm
Contact:

#10 Postby hscorp » May 28, 2009 3:46 pm

it still works with me i can login and logout

abboodeh
Posts: 94
Joined: Jan 23, 2009 6:31 pm

#11 Postby abboodeh » May 28, 2009 4:41 pm

ok then it means i've deleted something else
because when i searched for

Code: Select all

$ses->setCookie( $ses->{auth_cook} , $sess_id );

i found 3 results, i deleted one of them at random...

i'll be appreciate it if you can tell me approx. at which line it comes?

hscorp
Posts: 143
Joined: Nov 12, 2008 5:36 pm
Contact:

#12 Postby hscorp » May 29, 2009 8:53 pm

not random man

in index.cgi find CheckAuth function and remove from it:

Code: Select all

$ses->setCookie( $ses->{auth_cook} , $sess_id );


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests