HELP!!!!! With password wizard 5 -...

User 467174 Photo


Trial User
2 posts

I created a login page. checked it all out. Whoopey it all works. So i decided to bookmark one of the sensitive pages. Bookmarked. Click on it. O dear its let me in. So ive added the necessary scripts to the pages as tips and trix mentioned but all it does is redirect the page so when i try loggin in it sends me to the page i instructed instead of the content.

So does anyone know any script to add so if the password is correct it sends user to content instead of redirect

at the same time.......

If the user knows the url or bookmarks the page it forces the login

and........

If the user logs out & decides to come back 5 minutes later that also forces login (no caching of URL)

Iv already spent a day googling with no luck. Absolutely desperate as its the last thing ive got to do. Thanks in advance.
User 132952 Photo


Ambassador
3,120 posts

Sorry I didn't see this post sooner. I should be able to help out. It's no picnic, but I have it working (example here):
http://www.coffeecuphelp.com/adam/passwizard.html
Typically, the reason you get redirected when you shouldn't is because the script mentioned here requires the pages you want protected to be loaded within a frame. We make the frame 100% so you can't really tell it's inside of a frame unless you try to view the source. I might have to see the actual site and know the file names of the pages involved, so if you want to do this 1-on-1, we can discuss over e-mail. Of course, being a site that requires protection, you may not want to share details at all, so we'd have to make up some fake names for examples. Either way, we'll get it sorted out.
User 467174 Photo


Trial User
2 posts

Lovely, nice 1 Adam. Thats exactly what i need.

So what i have is an entry page to go to login which is

(http://www.name.co.uk/enterloginpage)

The login page produced by CC is

(http://www.name.co.uk/login.html)

This is sent to

(http://www.name.co.uk/redirection)

From there you can press enter to enter

(http://www.name.co.uk/sensitivecategorypage)

which has a number of pages linked to it under

[/sensitivepage(a), /sensitivepage(b)]..... and so on

So what i need is /redirection & /sensitivepages to go to

http://www.name.co.uk/enterloginpage

when direct access is tried by user

Hopefully thats clear.


Thanks alot
User 132952 Photo


Ambassador
3,120 posts

I made another demo and this one has more descriptions of what's going on in each page. Even better though, I have a .zip file on the main page that includes all the files used so you can open it in VSD and see exactly what's in each page:
http://www.coffeecuphelp.com/adam/sampl … rotection/
I should hope it will answer all questions. However, post back if there's anything I left out or didn't explain well.

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.