Flash Password Wizard - How do I redirect incorrect logins

Home » Forums » Password Wizard » Flash Password Wizard - How do I redirect incorrect logins


Registered User
2 posts

Hello. I've installed and used Flash Password Wizard, and it is doing mostly everything that I need. However, if someone inputs an incorrect name/password, I'd like to send them to a different web page.

The features list says that I can do this, but I just can't figure out how, nor did a search turn it up.

To be clear, instead of the "Incorrect Username or Password! BACK" bit, I want to send the browser to a different web page.


Senior Advisor
3,116 posts

Interesting, I never noticed that under the feature list:
Redirection for Incorrect Logins
I don't believe I see the option to do so either.
If no one happens to give an official response here, be sure to contact CoffeeCup directly as this is primarily a user-to-user forum.
http://www.coffeecup.com/contact/
At least then, submitting by form or phone, will be ticketed in their system, so you'll be sure to get a response. http://www.flashstrap.com
http://www.lodipc.com


Customer Support Specialist
162 posts

Hello,

There are three files you'll need to get this to work - a frameset (login) page, a username/password page, and the protected page. Let's give these pages filenames now, just for this example:

Frameset page: members.html
Username/password page: unpw.html
Protected Page: authorized.html

Set Up unpw.html
First, you'll need to set up the unpw.html page. The password wizard actually creates this page for you, or you can embed the login box on any page you created. Once you've designed this page, save the file.


Set Up members.html
This is the page with the frameset. Make it read something like this (note the location of unpw.html here!):

<html>
<head>
<title>TITLE GOES HERE</title>
</head>
<frameset rows="*,100%" border=0>
<frame name=hidden src=hidden.html marginwidth=0 marginheight=0 scrolling=no frameborder=0>
<frame name=visible src=unpw.html marginwidth=0 marginheight=0 scrolling=auto frameborder=0>
</frameset>
</html>

Save this file.


Set Up authorized.html
This is the protected page. At the top of the page, make it read something like this (note the location of members.html here!):
<html>
<head>
<title>YOUR TITLE GOES HERE</title>
<script language=javascript>
<!--
if (parent.frames.length==0)
window.location.replace("members.html")

// -->
</script>
</head>
<body>
...THE REST OF YOUR PAGE GOES HERE...

Once you're done with that, save the file.

Now if you upload all these files, you should direct your users to members.html to force a login. Orlando Perez
CoffeeCup Software Inc.
An Internet 500 Company
http://www.coffeecup.com

"Want to update your website from anywhere? Check out our new free service, S-Drive Streams. Visit http://www.coffeecup.com/sdrive for more information."


Senior Advisor
3,116 posts

Hey Orlando, I've set up sites w/ Password Wizard w/ the redirecting for authorized members, but I believe the original poster was asking about "unauthorized" logins being redirected. As it stands, I only get the flash Password box saying "Incorrect Username or Password." But if you wanted it to take them to another page (or site even, like Yahoo), there's no option for that. It's in the listing of features on the product page:
http://www.coffeecuphelp.com/adam/images/PasswordWizardRedirect.jpg
I dunno... :P

Perhaps it's just how you look at the wording of it. Maybe it should read "Redirection of direct access to protected pages," assuming everyone uses the frames/javascript trick. :D http://www.flashstrap.com
http://www.lodipc.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.