nicsnow Posted August 28, 2008 Share Posted August 28, 2008 Hi, is there a simple way of not displaying the complete page url in the browser address bar? I've got a bunch of questionnaire forms that I would rather not have viewers going directly to. Link to comment https://forums.phpfreaks.com/topic/121712-hidingcloaking-url-in-address-bar/ Share on other sites More sharing options...
discomatt Posted August 28, 2008 Share Posted August 28, 2008 Use a session-based system to verify the pervious page the user was browsing. This isn't fail-safe, but it works quiet well over all... If you want the clients browser to know where to go, you have to tell it. This means the end user will probably know where they are going. Minor amounts of masking can be done using javascript, frames and other client-side effects, but you aren't really hiding anything from someone who wants to access that page directly. Link to comment https://forums.phpfreaks.com/topic/121712-hidingcloaking-url-in-address-bar/#findComment-627857 Share on other sites More sharing options...
nicsnow Posted August 28, 2008 Author Share Posted August 28, 2008 Sessions it is then! Link to comment https://forums.phpfreaks.com/topic/121712-hidingcloaking-url-in-address-bar/#findComment-627862 Share on other sites More sharing options...
kratsg Posted August 28, 2008 Share Posted August 28, 2008 Technically, you can completely hide it. With sessions, just have some sort of a "counter" to track exactly where the user is.. so as they load quiz.php (or w/e), you fetch the session (if it exists, otherwise default to something) and grab the content it needs to display. In order to go on to the next section, have it re-post back to quiz.php (or w/e) updating the session and displaying the new content. If you have some sort of a user-login system, just use databases to track them :-D Link to comment https://forums.phpfreaks.com/topic/121712-hidingcloaking-url-in-address-bar/#findComment-628040 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.