Solved

Preventing bookmark

Posted on 2001-07-26
5
750 Views
Last Modified: 2008-03-17
Is it possible to prevent a user from bookmarking a page? Or is it possible to set the URL that is being bookmarked to something else? So if someone bookmark a page and then uses the bookmark, it will send him (her) to a starting page instead of the exact page bookmarked?

Thanks for the help,
Llaurick
0
Comment
Question by:llaurick
  • 2
  • 2
5 Comments
 
LVL 8

Expert Comment

by:bebonham
ID: 6324195
yeah, using frames or cgi, your pick, I think both would work okay,

the only way to do it for sure is by using cgi to get teh pages and then print them to your browser...

Bob
0
 
LVL 14

Expert Comment

by:avner
ID: 6324296
No.
You cannot prevent the user from bookmarking your pages , what you can do is to protect your pages with some security code .

For example if your pages will have value like this :
http://www.yahoo.com/pahename.html?5463

where "5463" is a random number that was produced from the current date , if someone will bookmark this page , the next time he'll go to the page , you'll check the value , you'll see it's "5463" and it dosen't match the current date , and you can kick off the user.
0
 
LVL 14

Expert Comment

by:avner
ID: 6324298
But actually to disable bookmarking is something that you cannot do.
0
 
LVL 3

Accepted Solution

by:
black earned 100 total points
ID: 6332891
If the actual requirement here is to force the user to come through your start page, you could check the referrer, if the referrer is anything other than your start page you could send them back to your start page, this can be done on server side or via javascript.
0
 
LVL 8

Expert Comment

by:bebonham
ID: 6336302
way to think outside the box.

that is the perfect solution
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question