page not displaying trying to protect...

User 571042 Photo


Registered User
10 posts


I am unable to use the example located within Help - Protecting Pages after Login. I am not understanding fully what I should do.

When I use the example listed in Help, my test page displays with not text. Please see the code directly above the body tag that is listed in the URL that I have listed.

http://www.northsidechristians.com/new- … t-pwd.html - notice the code that I have listed above the Body that is commented out.

Please advise.

MUCH Thx...

Kirk
User 355448 Photo


Ambassador
3,144 posts

Kirk,

It might be easier to use the new Website Access Manager to protect your member only pages.
User 571042 Photo


Registered User
10 posts


Thx.... Bill - I will try it.
User 571042 Photo


Registered User
10 posts


Ok - Website Application Manager is not what I need for this application.
I really need to use - Password Wizard.

1. Here's the URL -
http://www.northsidechristians.com/new- … mepwd.html

2. OS - XP PRO & Vista Home Premium

3. Password Wizard 5.0 Trial Version

4. I am unable to use the example script code located within Help - Protecting Pages after Login. I am not understanding fully what I should do.

When I use the script code example listed in Help, the test page - http://www.northsidechristians.com/new- … mepwd.html - displays as a blank page. I currently have the script code commented out in this page.

Also I have added the example script code to the password protected page -
http://www.northsidechristians.com/new- … login.html
This code is currently commented out also.

5. I am not able to get past this problem. This problem occurs on multiple computers.

Please advise.

Kirk
User 571042 Photo


Registered User
10 posts

FYI - Orlando from Customer Support has given me examples that has allowed me to create exactly what I needed for my client.

I have purchased he Password Wizard application & HTML Editor 2008 - Yea!

MUCH thx...

Kirk
User 571042 Photo


Registered User
10 posts


Here's the fix that Orlando provided -

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.


This works - YEA!

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.