Click here to Skip to main content
13,202,873 members (57,101 online)
Rate this:
Please Sign up or sign in to vote.
Hi everyone,

I am making a web application.
My problem is that I want to make bookmarklet for my application.
So if after user login on my site if he bookmark something and on my site he comes and select his bookmark then all the information of bookmark page retrieved on my site on particular text area etc.
Its urgent please rpl fast...
Thanks in advance.
Posted 14-Jan-13 2:42am
Updated 14-Jan-13 2:49am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

What have you tried so far? I suppose nothing. You are shooting question in unknown direction. Now, here is a startup tip:
1) Create a database table to store userid and bookmark id.
2) Create a function that will store the userid and bookmark id in this table.
3) Call this function on click of "Add to bookmark" button.
4) When user logs in and click "My Bookmarks" link get the list of his stored bookmarks and display on the page.
5) Also, create a master table of Bookmarks(this should be the first step). The primary key of this table will be the foreign key for the table in which you will store the userid and bookmark id. This table is to ensure that in future if you change the url of a page the bookmarks of a user does not end up in error 404.

Alternate solution is to store the pages's url in a table along with the userid. But again you will have to handle the situation like "What if the URL changes in the future"?

Try these things it is not that hard as it looks. Wherever you are stuck, post your question and we will be happy to help further. But do not expect to get the complete solution in hand.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.171020.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100