CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Problem with Login redirection

Print topic Send  topic

Author Message
Damien
Posted: 01/06/2003, 8:57 PM

Hi there,

I have been trying to create a login page for a site using CCS2 Beta 1 without much success. In CodeCharge, a page that had security enabled would redirect to the login page if required then after the login was completed they would be returned to that page. CodeCharge Studio doesn't seem to do this.

I am using Perl 5 with templates option. When I access the secured page it correctly redirects to the login page. I then login only to remain on the login page. Any subsequent attempt to access the secure page leaves me at the login page.

Here's what the URL looks like after being redirected to the login page:

http://luisa.e-damien.com/cgi-bin/login.cgi?ret_link=%2...&type=notLogged

I have the secured page at: /cgi-bin/en/add_article_en.cgi and the login page is one directory up: /cgi-bin/login.cgi.

A session file is created with the correct user info. There are no other errors in the Apache error log.

Can someone else try and confirm with Perl? There seems little on Perl support...

Regards,
Damien.
Damien
Posted: 01/06/2003, 10:46 PM

Me again,

Seems to be a problem with relative paths. I moved the login page to the same folder as the page requiring authentication and it worked okay.

YS might want to fix that in the next version. I'll try locating the offending code and see if I can point it in the right direction manually and let everyone know, as I am sure others out there will use sub folders and pages requiring a common logon...

Regards,

Damien.
Benoit
Posted: 01/17/2003, 1:12 PM

I have the same problem in ASP and I found that it was an IP address solution problem.

If the IIS server is define in the DNS server, the problem doesn't appear.
If you type the IP address directly instead of the server name it works too.

But if it is the WINS server witch solve the IP address, the login page appear and still there.

In fact it is the next page witch doesn't see as a loged user, so it send you back 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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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