CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Php Login Problem

Print topic Send  topic

Author Message
NELO
Posted: 03/18/2003, 7:10 AM


Hi, I need some help.

I have problem with the login page, I'm working with PHP 4 with templates in CCS.

When I publish my site works great, but when I try to login, the login page send me to itself again, the database conection is ok, because if a put a wrong login or pass I have a message like "wrong login or pass".

I read something about to change the "globals = on" in the php.ini and I did it, but doesn't work.

Thanks by your help

NELO


I'm working with Apache 1.3.27, PHP 4.3.0, MySQL 3.23.54.
Arian
Posted: 03/18/2003, 8:18 AM

Maybe I'm not very clear about your problem. If you just want to go, after login, to another page, just put this page name on 'Return page' property of the 'Login' Record in Login page.
GreggB
Posted: 03/18/2003, 10:23 AM

What's in your browser's address bar after you login?

GreggB
NELO
Posted: 03/18/2003, 11:31 AM

Ok, again, my problem is...

When I am in the login page, this page send me to same page (login.php), in the code charge I set to send me to AdminMenu.php, but It dosen't work.


This my browser's address bar in the login page before login(login.php),


http://www.testing.com/Login.php?ret_link=http%3A%2F%2F...&type=notLogged


My browser's address bar in the login page after try to login(login.php),

http://www.testing.com/Login.php?ret_link=http%3A%2F%2F...&type=notLogged


thanks by your help

NELO
RonB
Posted: 03/18/2003, 11:54 AM

The response seems to indicate the login failed for some reason. Did you check the security group settings for the return page?

Ron
NELO
Posted: 03/19/2003, 10:34 AM

I had a similar problem which turned out to be related to not having the directory created to store session variables. Check your php.ini for the directory where session vars get stored (default is /tmp) if you are on windows you can change this to c:\tmp.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.