Forums
This topic is locked
Authentication Problems (DWMX / PHP)
Posted 21 Mar 2003 10:21:35
1
has voted
21 Mar 2003 10:21:35 Julio Taylor posted:
Heyi'm having problems using the Phakt login / restrict behaviours. it seems to log in users ok, but whenever i use the 'restrict' function, it just kicks me back to the 'fail' page. basically it never accepts the user as being logged in. i have tried to use the <?php session_start();?> code to see if i can print the $KT_Username global var but it isn't printing... so i have 2 thoughts.
1) either i have missed out on something important
2) my php.ini is set up incorrectly. what setting in the ini file affect usage of $KT_Username?
thanks for your help
-- J
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247
Replies
Replied 21 Mar 2003 17:44:47
21 Mar 2003 17:44:47 Brent Colflesh replied:
Sounds like a session problem, if that KT_* var won't echo... Are you using the latest Phakt (2.4.0), that was released yesterday?
Regards,
Brent
Regards,
Brent
Replied 24 Mar 2003 09:59:35
24 Mar 2003 09:59:35 Julio Taylor replied:
Hi Bcolflesh
i'm using the version of Phakt that came out a few weeks ago (2.2.0)... i'm going to try the new one. What could cause this problem? could it be my IIS/PHP settings?
I'm guessing the problem is caused by the login script failing to initialise the $KT_Username var or the var being somehow unavailable or disabled.
-- J
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247
i'm using the version of Phakt that came out a few weeks ago (2.2.0)... i'm going to try the new one. What could cause this problem? could it be my IIS/PHP settings?
I'm guessing the problem is caused by the login script failing to initialise the $KT_Username var or the var being somehow unavailable or disabled.
-- J
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247
Replied 25 Mar 2003 01:25:32
25 Mar 2003 01:25:32 Brent Colflesh replied:
Sessions have to be enabled for that behavior to work - also, check the placement of the "restrict" code - should be first on the page.
Regards,
Brent
Regards,
Brent
Replied 25 Mar 2003 09:50:21
25 Mar 2003 09:50:21 Julio Taylor replied:
hey bcolflesh.
i've moved my site to another server and that seems to have solved the problem. it was definetly a php.ini problem....
A-R-S-E
thanks for your help!
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247
i've moved my site to another server and that seems to have solved the problem. it was definetly a php.ini problem....
A-R-S-E
thanks for your help!
------------------------
Julio
PHP | MySQL | DWMX | ColdFusion
ICQ: 19735247