How To Implement "favorites" Feature
May 19, 2010
I have written a dynamic database driven, object oriented website with an administration frontend etc etc. I would like to add a feature where customers can save items as "favourites", without having to create an account and login, to come back to them later, but I dont know how exactly to go about doing this... I see three options:
Log favourites based on IP address and then change these to be logged against an account if the customer then creates an account; Force customers to create an account to be able to use this functionality;
Log favourites based on IP address but give users the option to save their favourites under a name they specify.
The problem with option 1 is that I dont know much about IP addresses - my Dad thinks they are unique, but I know people have had problems with systems like this.
The problem with 1 and 2 is that accounts have not been opened up to customers yet - only administrators can log in at the moment. It should be easy to alter this (no more than a morning or afternoons work) but I would also have to implement usergroups too.
The problem with option 3 is that if user A saves a favourites list called "My Favourites", and then user B tries to save a list under this name and it is refused, user B will then be able to access the list saved by user A because they now know it already exists. A solution to this is to password protect lists, but to go to all this effort I may as well implement option 2.
View 1 Replies
Similar Messages:
Mar 4, 2010
On this site if you do too many clicks or post comments too fast or something like that you get redirected to the "are you a human" screen. Does anybody know how to do something similar?
View 7 Replies
Jul 13, 2010
I'm trying to implement the SQL Filestream feature so that I can store the physical PDF on hard disk, while still allowing full-text searching. I've set up my database to allow filestreaming, and as far as I know, have made the table correctly (I set it up based on this article: http://msdn.microsoft.com/en-us/library/cc949109(SQL.100).aspx). I'm just a bit confused about how it's supposed to work, and what steps I need to manually perform.
My understanding is that I convert the PDF to binary and store the binary data in the varbinary(max) field designated as the "Filestream" field, and once the data is stored, the physical PDF file will automatically be placed in the directory I specified when I set up the Filestream option in SQL server. I can also store the file name and extension for retrieval purposes, but the file must be streamed, rather than accessed directly. Is this all true?
What's currently happening is that I save the binary data to the table, but nothing else happens - a file never shows up on the server. The only contents of the directory are two empty folders named: $FSLOG, and, 9953ffec-7c59-41ce-943d-98073853ba0d, and a HDR file named "filestream". Do I need to manually save the file to disk, in addition to saving the binary data?
View 10 Replies
Jan 5, 2010
I am working on voting application. In this application, I have to implement the feature to recieve the votes through mail and also from SMS and to add to the existing voting count. Can any body give me some samples or links to implement this feature.
View 1 Replies
Sep 14, 2012
i have 3 textbox 1 button and in my change password.aspx
1-Txtold== user should enter their old password
2-Txtnew1== usershould enter their new password
3-Txtnew2==user should retype their new password
and House_info table
name password behcode Id
sara 12345 1111 1
View 1 Replies
Feb 18, 2010
i'm looking to implement a live helpdesk (chat) feature to an ASP website, something similar to LivePerson.
Would anyone be able to direct me towards firstly the required achitecture to help me understand what will be required to even develop such a feture and if at all possible some example code/solutions, if any exist ??
View 2 Replies
Feb 13, 2011
implementing a drag and drop feature into my website. I was wondering if anyone has any good examples on how this can be done?
View 3 Replies
Jul 5, 2010
i want to implement this feature in listview control which is bound to objectdatasource... and in on mouse over i have to show the data from database again. when you mouse over the linkbutton then div popup with contents...how to imlement with listview.
link for the feature is
[URL]
View 4 Replies
Dec 8, 2012
How to Set Paging in DataList control in asp.net?
View 1 Replies
May 7, 2015
I see an example on the ASP snippets but can it be done using the supplied Login control template.
View 1 Replies
Jan 15, 2011
how to implement a filter feature like this? What Ajax or JQuery controls can be used for this (if any)?
Here is an example of how the UI might look like:
See the Exchange Management Console image:
[URL]
Here is the spec:
The ASP.NET page has a "Filter" component and a "Apply Filter" button. The "Filter" component consists of 4 UI controls as below:
1. A dropdown list with prepopulated values like "Name", "Department", "Building", "Email Address".
2. A dropdown list with four operators - "Equal", "Not Equal", "Like", and "Not Like"
3. This is a dynamic control. It could be a textbox or a dropdown list. If the user chooses "Name" from the first UI control, the third UI control will become a Textbox. If the user chooses "Department" from the first UI control, the third UI control will become a dropdown list with all departments within this company pre-populated.
4. A button with AND expression. If the user clicks this button, one more Filter component will be created.
One possible user case is like this:
ASP.NET: when the page is loaded, it displays one Filter component (3 UI controls and a AND button), a "Apply Filter" button, and an empty "Filter Result" data grid.
View 2 Replies
Feb 27, 2011
I have a table which contains a list of players. Now I want to give user the privilege to add/delete their preferences. Which is the BEST way to do in C# .NET Web Application?
View 2 Replies
Sep 27, 2012
I have a requirement like need to display list of products in gridview and when user mouse over on any of the product need show "Add To My Fav" button. when user click on that button the corresponding details need to save in DB.
View 1 Replies
Nov 3, 2010
I have a page with several panels which are enabled or disabled depending from which page user were redirected to this particular page (based on UrlReferrer). Everything works perfectly until a user adds this page to favorites in IE8 (not sure about other browsers at this point), and then returns to that favorite in the future. It contains the previous data and not the data from the current page . When I click F5 it works again becase page is reloaded from the server and not from IE cache. How can I avoid this issue? Is there any way to force page reload only once! I tried also to put some code into "If Not IsPostBack", but it still does not work.
View 3 Replies
Jan 22, 2011
how to make my web - home page and add to favorites in google chrom ? (in asp.net C#)
View 2 Replies
Jul 14, 2010
I am writing a programming using Tree View. I have created the Tree View object and have added a node for the root called Favorites. I want the user to be able to enter a value in a text box and once clicking on an add folder button, an event fires that takes the text that was entered in the textbox and creates a new node under the root node of favorites.
I am having a problem with my program in that the user is not able to click on the Favorites root note in order to create another node underneath of it. Favorites is simply displaying on the screen, but they cannot click on it to select it. What do I need to add so that the user can select the node to which they want to add a child node to?
View 6 Replies
Sep 3, 2010
I am using VSTS 2008 + C# + .Net 3.5 + IIS 7.0 + ASP.Net to develop a simple web application. I want to add RSS feature to some of the pages of my web site, so that people could use their popular RSS reader to receive notification of content update.
Any easy way to do this in my development environment? I only need very basic RSS feature.
View 2 Replies
Jan 9, 2010
I'd like to add a search feature in my page (addviolation.aspx) just like in windows GUI. I have a search link in my page and if click on that link a new small browser (memberlist) will appear in front of the page (addviolation.aspx) that contains list of members. If I select on one of the member on the list, then it will appear on my first page (addviolation.aspx).
View 4 Replies
Aug 19, 2010
I have a alreday developed web application. Now I am wishing to add MetaDescription and MetaKeywords feature. I have downloaded codes from here
****. This is my own post but now it is wondering me when I am using that code and codebehind in my project. Well here is my codes and errors.
Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Changing title of the Page Page.Header.Title = String.Format("Header Content ({0})", DateTime.Now)
' Changing background of Page
Dim myStyle As New Style()
myStyle.BackColor = System.Drawing.Color.Red
Page.Header.StyleSheet.CreateStyleRule(myStyle, Nothing, "html")
' Creating Meta Description
Dim metaDesc As New HtmlMeta()
metaDesc.Name = "DESCRIPTION"
metaDesc.Content = "A sample of using HtmlMeta controls"
' Creating Meta Keywords
Dim metaKeywords As New HtmlMeta()
metaKeywords.Name = "KEYWORDS"
metaKeywords.Content = "HtmlMeta,Page.Header,ASP.NET"
' Adding Meta controls to HtmlHead
Dim head As HtmlHead = CType(Page.Header, HtmlHead)
head.Controls.Add(metaDesc)
head.Controls.Add(metaKeywords)
End Sub
End Class
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
This is my content.
<br />This is my content.
<br />This is my content.
<br />This is my content.
<br />This is my content.
</asp:Content>
Error:
NullReferenceException was unhandled by user code
See underlined code that has error.
Is I have to add something inside web.config file or anything else?
View 8 Replies
Jan 4, 2011
I need a working example of SQL 2008 File Stream example for overwriting the existing file contents.
View 2 Replies
Jan 20, 2010
T4 templates have saved me tons of work so thanks to the creator.In my site.master I have problems with the CSS files.My source looks like:
[Code]....
When I run my site it produces the following HTML:
[Code]....
As you can see the result paths are a little bit freeky :) (For the record when I use Links on script tag all is good.
View 2 Replies
Jul 6, 2010
I am a c# developer and am working on a web site that contains user accounts. I am trying to add a chat feature like facebook. Only direct chat is to be available like IM, a logged in user in the website should be able to chat with only logged in users. And the user can chat with only one other user at a time. If he wants to chat with another user, he must open a new chat window for him seperately. Which is exactly like facebook's chatting system. Any guides how to go about this. I am a newbie in web applications. Also, preferred language to go about his is asp.net.
View 6 Replies
Feb 21, 2012
I'm in the process of creating a form with a billing and mailing address. How do I create a "SAME AS ABOVE" TEXT box but yet still allows for a different address to be supplied on the form. I'm not too sure on how to code this. I AM USING VB.NET 2005 AND SQL SERVER2005 ....
View 1 Replies
Jun 5, 2010
I try to use routing feature on vs 2010 but it isn't running? May I have some wrong . Here is my code:
[code]....
View 4 Replies
Mar 5, 2010
I need to set the webpart to administrators only. How can I allow only shared scope. User scope is not allowed even for administrators.
View 1 Replies