Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to make my website remember variables for each user and display them, something like local storage that I can use in c#. What is the best way to achieve this concept?
ASP.NET Session State is what you are looking for.
http://msdn.microsoft.com/en-us/library/ms972429.aspx
Or if you want permanent storage (ie they leave and come back another day)
Connecting to a SQL Server database.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
My client wants something similar to the action that occurs the first time you load the page http://www.denisechandler.com/ (the creation of those corals and the gentle drops once it finishes).
I was thinking of doing it with Canvas, but I wanted to ask if you have any ideas how this could have been done?
Maybe there is a better alternative to making it, because you know, canvas is canvas :duh:
That website (which is cool), uses svg and a javascript library call lazy line painter. https://github.com/camoconnell/lazy-line-painter
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to use the password recovery control of asp.net, but with my own database, I dont want to use the membership table that is already provided. Is there a way to do this? I have searched on google but did not get a single one that is relevant to what I want to do. Please Help. Thanks
The general approach to this would be to implement your own MembershipProvider, this would allow you to override the default behaviour. However, you would need to implement all the behaviour, not just the stuff you want to change (see this example).
You can implement the GetPassword / ResetPassword methods and have them work from your own database rather than the membership table.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
friends
I want to add three languages to my ASP.NET website to give users language options.How could I do this.If possible, could you explain it me in details?Thanks...
You can do it by using the Resources.
And for setting/detecting current language in the views you can use cookies or the routing (which is more preferable due to it's SEO and cache friendly behavior). Here is a tutorial.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am new to development of asp.net applications... I want to give different language options for the user to choose as he wishes.
Thanks in advance
The best way to do this is to have all the text for your site set in a language table in your database. Every piece of text. Set a unique ID for each languae, 1=English, 2=Spanish, and so on. Then, when populating the text on your page, rather than calling up the text from a static table, call it up from the Language table for that ID.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
How does Wordpress store it's options? By calling for each function when it's required or other way. Is it a good practice to use session to store site options? Thanks.
Here is the options API for WordPress, the best practice to storing options would be to use the add_option() function, not using sessions as they can be temporary.
WordPress stores it's options in a table called wp_options (or whatever prefix you used during installation).