Discussion Locked

bookmarking pages

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want visitors using a certain part of our web site to always come in to the main page, not any of the subpages.

Is there a way to prevent people from bookmarking pages in a directory?

7 replies

by rspeidel

Have the main page distribute a cookie to the visitors computer. Have all the other pages check for that cookie, if it isn't there or has expired, redirect to main page. Downside: After the visitor has gotten the cookie, they will be able to get to the other pages that are bookmarked, so make sure you have the cookie expire after a short period of time (12 hours maybe)

by boyarsky

So if a user has disabled cookies, they will not be able to access your website at all.

by rspeidel

If the user is so paranoid that they have disabled cookies, then they shouldn't be on the internet in the first place.

by rspeidel

If you use frames, the visitor will only be able to bookmark the frameset, and framesets always default to certain pages.

by t. e. walker

a Flash interface provides the same effect as a frameset without having to deal with frames' sometimes klunky visual effects. As an added bonus, Flash sites can add visually appealing and attention-getting animation effects - just be sure not to overdo it and overwhelm the vistor with too much "eye candy". For an idea of what can be accomplished, go to http://www.macromedia.com/showcase/ and select "Flash" from the list on the right. Check out several - the useage is very different on each site. Not all use Flash as interface, for instance Jaguar uses Flash for effects only.

by gfblack

Wonderful. A brilliant way to insure user frustration. Another arrogant programmer deciding what's best for the user? Cookies as currently used are often an invasion of privacy, and I advise my classes to delete them after each session. I advise youto work to solve issues with common sense and not with your personal view of what is best for the masses.

by rspeidel

I agree with you. Cookies ARE often an invasion of privacy, and I delete my cookies after each session also. However, In this situation it is not an invasion of privacy, just a way to direct the user to a specific location. Also, I would like to appologize about my "tone of voice" in my first reply. Sometimes I get carried away.

This discussion is closed to new replies.