Welcome Guest. Please Login or Register  


You are here: Index > Advanced Electron Forums > Mods > Requests > Topic : External login page for 1.0.8

A2 Hosting

News:

Group Message
Hello Guest,

Welcome to the AEF Board. AEF is getting better and better and is also becoming more popular.
Take a few seconds to Register, its free, and it inspires us to work harder and improve on whatever we can improve on.
Give us some feedback, and tell your buddies about AEF!

Thanks,
The AEF Team



Threaded Mode | Print  

 External login page for 1.0.8 (3 Replies, Read 5042 times)
zing
Group: Member
Post Group: Newbie
Posts: 8
Status:
I am trying to code my own external login script but i cant get the sessions to work right. Basically  i want to bridge aef and the my other script. So when they login on the main site they login to the forums and vise-versa.

I know in the login script the session is made with the following
PHP Code

 $qresult makequery("INSERT INTO ".$dbtables['sessions'].
                     SET sid = '"
.
AS_ID."',
                     uid = '"
.AS_LUID."',
                     time = '"
.time()."',
                     data = '
$data',
                     ip = '"
.($_SERVER['REMOTE_ADDR'])."',
                     anonymous = '"
.$globals['i_am_anon']."'"); 




Edited by zing : May 17, 2010, 8:18 pm
IP: --   

External login page for 1.0.8
SAFAD
Group: Administrator
Post Group: Elite Member
Posts: 279
Status:
so you want
when you login in your OTHER script
you stay logged in in AEF ?

First you need is to modify your OTHER script so it logins Based on the forum DB
then you make Session
And Not Forget to define Cookies (i didn't read alot of the AEF code so am not sure about cookies)

-----------------------
Best Regards
Sadaoui "SAFAD" Abderrahim - Lead Developer
My Blog
IP: --   

External login page for 1.0.8
zing
Group: Member
Post Group: Newbie
Posts: 8
Status:
No i want the user to only login once and that sets the sessions for both scripts
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Members who read this topic
, VasiliyRS, REDSEW, SAFAD, zing, askerasker, lankavision, idontwantaname, dung123424


Users viewing this topic
1 guests, 0 users.

A2 Hosting

All times are GMT. The time now is September 21, 2019, 3:03 am.

  Powered By AEF 1.1.0 Preview © 2007-2011 AEF Group. All rights reservedQueries: 13  |  Page Created In:0.041