I am attempting to make a basic login script in Active4D and have been
successful until I added in a redirect command.
The page is /web/login/process_login.a4d and the area of code in question
looks like this:
.
.
reduce selection([Users]; 0)
set session("loginError"; "Invalid Username, or there is a problem with your
Username. Please try again.")
redirect("/login/login.a4d")
.
.
The redirect command resides in three different places within the page and
every single time it gets to one, the browser fails. I have tried setting it
to redirect to "login.a4d" and to "/login.a4d" to no avail.
In IE 7.0.5730.11 the page just remains blank and does not redirect though it
has processed all the relevant code. In Firefox 2.0.0.6 I get this message:
Your browser could not fulfill a redirect request. Please click here
<http://192.168.168.105/login/login.a4d> to go the intended destination.
If I click the link, it takes me where I need to go.
Active4D is running on 4DServer 2004.6r2 and on a Mac with OSX 10.4.10.
What am I doing wrong?
Sincerely,
Jason Tupeck
InterTech USA, Inc.
6070 Industrial Road
Missoula, MT 59808-8412
Phone: 406.549.8998 x231
Toll-Free: 800.291.6517 x231
Fax: 406.721.7991
Web: http://www.intertech-usa.com <http://www.intertech-usa.com/>
Confidentiality Note: The information contained in this email and document(s)
attached are for the exclusive use of the addressee and may contain
confidential, privileged and non-disclosable information and is covered by the
Electronic Communications Privacy Act, 18 U.S.C. 2510-2521. If the recipient of
this email is not the addressee, such recipient is strictly prohibited from
reading, photocopying, distributing or otherwise using this email or its
contents in any way.
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/