Locked page inaccessible, admin page inaccessible, problem with locked pages,
Author: Yusuf M.Locked page keeps on asking password and username.
kindly refer attached image file where i have explained with screen shots.
Case 1
i have created a page rv1 and locked it with username and passoword. and in access management i have linked rv1 as entrance page, obviously. Now when i try to open www.mywebsite.com/rv1 it asks login details and when entered correctly, it again takes to same page and keeps on asking login details instead of taking me to actual page content. probelm same like post http://answers.websitex5.com/post/49902
Case 2
as a temperory solution, , i created copy of rv1 and named it rv2 and kept it unlocked and hindden. and now if i link rv1 instead of rv2 as access page; after logging into rv1 it takes me to www.mywebsite.com/rv2.html. which is logically correct. but problem is if someone knows web address of rv2.html, he can directly access rv2.html. so putting locked page rv1 is useless.(problem similar to post http://answers.websitex5.com/post/44929 )
ideally case 1 should work where i should be able to enter rv1 after entering login details, but instead it keeps on asking login details.
I contacted my host server ipage and they confirmed that ipage supports php scripting and everything is working perfectly from their end.
Last problem:
i tried to access www.mywebsite.com/admin by putting login detials as given in access management section, but it keeps on asking me login detials again and again. i tried to delete and recreate admin account, changed username and passw nothing works.
help please
regards.
Hello Yusuf,
Delete ALL your X5 project files and folders from your webserver, then reupload your entire project afresh.
Clear your browser cache and cookies.
Verify if the problem still exists, and let us know the outcome.
Kind regards,
Paul
Author
Thanks Paul for quick reply. i had tried all things, even tried different computer, browsers etc.
just now i found answer and solved the problem. i got this idea for this post http://answers.websitex5.com/post/46409
Problem was same in my case, my server host supported php and sessions but , php was enabled while sessions was not enabled. i asked them about this, they said there is no sessions folder, they created it and now it works like a charm.
i can also login to admin and all protected pages without need of duplicating them , one as unprotected page.
this is just to share with others who have been facing problem.
the only problem now i am facing is how to logout once logged in.. but i havent fished for solution, will find is i guess.
regards
Hello Yusuf,
In the HTML&Widget Object in Step 3 you find in the Widget Lists the Logout function which will be only visible after the login.
You find the same function also in the header if you choose HTML Code and then below in the list of the scripts there will be the Logout function.
Hope this helps.