How to Set a Machine Key to Your Custom ASP Application
Last Updated on Tuesday, 6 November 2012 08:30 Written by Rodolfo Hernandez Tuesday, 6 November 2012 12:00
Machine key is used for authentication and security in ASP. If you have an asp application that requires login, you must set the Machine Key for security and to avoid a viewstate validation error. A viewstate validation error will log off any user connected to your application even if you set a 8 hours timeout. For that reason, In this article I will give a step by step guide on how to set a Machine Key to your ASP Application
The Machine Key <machineKey> element helps to control tamper proofing and encryption of ViewState, forms authentication tickets, and role cookies. Instead of creating a complicated function, we will use a tool to generate random machine keys.
1. Go to this address and get a random machine key. It should look like this:
Learn MoreHow to Increase or Decrease Session Timeout in Your ASP.NET Application
Last Updated on Tuesday, 30 October 2012 05:41 Written by Rodolfo Hernandez Monday, 5 November 2012 12:00
In this article, I will give you a step by step guide on how to set, increase or decrease session timeout for your ASP Application.
1. To set the session timeout for your application we will use the timeout attribute. The timeout attribute indicates the time (minutes) that the user will stay logged in into your application. To set the time, we will edit the web.config file your application.
2. Open web.config and look for this tag:
<authentication mode=”Forms”>
3. Now, we are going to add the timeout parameter. We will set it for 600 minutes:
Learn MoreHow to Properly Configure web.config Connection String and Source
Last Updated on Saturday, 29 September 2012 01:50 Written by Rodolfo Hernandez Monday, 1 October 2012 12:00
Some of our users were facing connection problems after deploying their Asp application in our servers. This was due to the fact of a bad web.config configuration. In this article, I will give you a step by step guide on how to properly configure web.config to work with your ASP application.
Web.config file is the main configuration settings for a Web application in ASP.NET. The file is an XML document that defines configuration information regarding the web application. The web.config file contains information that control module loading, security settings, configurations session state, compile and the language of the application. Web.config files can also contain specific objects such as connection strings to the database.
First, let’s Initialize the file:
Learn MoreHow to Publish Your ASP Application Using FTP Method in Visual Studio
Last Updated on Saturday, 29 September 2012 01:50 Written by Rodolfo Hernandez Sunday, 30 September 2012 12:00
On a previous post, we showed you how to publish your application with Web Deploy. However some of our users were experiencing issues with Web Deploy and were looking for an alternative way to publish their applications. In this article, I will give you a step by step guide on how to publish your ASP Application using FTP Method in Visual Studio
1. First, create a virtual directory. This is where your application will be installed. If you don’t know how to create one, please read this article
Learn MoreThe Arvixe Liaison Program – Now Hiring!
Last Updated on Saturday, 1 September 2012 08:57 Written by Arian Jahansouz Saturday, 1 September 2012 12:00
If you have knowledge about a particular application or software, you might be interested in knowing about the Arvixe Community Liaison role!
The Community Liaison Program is a role between any major software or application and Arvixe. Have you read articles regarding any of the hundreds of software on the Arvixe Blog? Have you ever posted a question in the forum regarding an application or software? If so, chances are you have read or been helped by a Community Liaison! With about a dozen liaisons, we are able to assist costumers on and off of Arvixe.
Here are some of our most popular blog articles, written by liaisons
Learn More
Recent Comments