Regular Expression for a Strong Password

Submitted by planetsourcecode on
This snippet shows a Regular Expression for a strong password. ^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*$ About the author: Planet Source Code is a place for all developer providing free source codes, articles, complete projects,complete application in PHP, C/C++, Javascript, Visual Basic, Cobol, Pascal, ASP/VBScript, AJAX, SQL, Perl, Python, Ruby, Mobile Development

Cookies in asp.net

Submitted by planetsourcecode on
Cookies are one of the way to store data during the time when web server and browser are not connected. common use of cookies is to remember users between visits.Cookies is a small text file sent by web server and saved by web browser on client machine Creating cookies in asp.net using system //saving cookie Response.Cookies["Cookiename"].Value="biscuit";

Encrypting Connection Strings

Submitted by planetsourcecode on
If you are a ASP.NET developer then you know that all the information is stored in web.config file and its is plain file which can be easily open in any text Editor like Notepad or word pad . We store all the important information like connection strings, user names, passwords.That means we are handling sensitive information in a unsafe text file.