?
Solved

Preventing bookmark

Posted on 2001-07-26
5
Medium Priority
?
770 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 200 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
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…
Suggested Courses

777 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