CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 login from subfolder problem

Print topic Send  topic

Author Message
thanin
Posted: 12/08/2002, 6:13 PM


I have build an application using CCS & PHP.
And I have put in a security so when user access to page.
It will redirect to login page for login.
My problem is when user try to access to pages under a folder
that is differ from the folder that login.php is in.
after login using correct login id and password ,php will redirect
the page to incorrect folder.Anyone face this problem before?
Any advice for this problem?
Thanin
Tom
Posted: 12/12/2002, 11:09 AM

Yes and what a pain in the butt!
I got around this by making sure that the 'access denied page' for my web pages goes to an "I'm sorry, your credentials don't allow you here, please login" page with a proper pathing ../myfolder/Restricted.ccp.
From the restricted page, I have a link to the login page

   


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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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