Solved

Preventing bookmark

Posted on 2001-07-26
5
740 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now