Solved

Preventing bookmark

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
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…

760 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

21 Experts available now in Live!

Get 1:1 Help Now