ASP. NET security question-froms verification details (Part 1)
In ASP. NET, forms verification is commonly used. The most important reason is flexibility. Because forms verification is a lot of details, and I don't want to say anything about it,
In Asp.net 1.1, for how to share the login status in the form Authentication Mode of the second-level domain name, refer to the following
Article :
Http://www.cnblogs.com/caomao/archive/2005/07/05/186606.html
The implementation method in
========================================================== ==============Database Problems
Solution:Download the Access database to your local computer, use access to open the database, and find "database utility"> "Repair" in the menu.
Replay
Sometimes we will see the address "outputs"/aspx/show. aspx? Type = 12 & id = 34 ", why? There are multiple reasons: First, enhance the friendliness of the URL. Remember the ratio of show-12-34.html to/aspx/show. aspx? Type = 12 & id = 34 "is it
Set the followingCodeSave it as asp_xml.asp and run it:
%
'
By Dicky 21:52:18 am QQ: 25941 E-mail: AppleBBS@GMail.Com
Const
Issql
=
1
'
Define the database type as SQL Server
Call
Openconn (conn)
'
Open
Previously, third-party components must be used to implement thumbnails on the page. Now, with. net, you can easily implement thumbnails. The following is an example of how to implement a thumbnail.
View
Using System;Using System. Collections;Using System. Collections. Specialized;Using System. Data;Using System. Data. SqlClient;Using System. Configuration;
Namespace LiTianPing. SQLServerDAL // you can change it to The namespace name of the actual
Symptom
When you use ActiveX Data Objects (ADO) with Active Server Pages (ASP), you may encounter the following common errors:Microsoft ole db Provider for ODBC Drivers error '000000'
[Microsoft] [ODBC Microsoft Access 97 Driver] Operation must use
I recently sorted out the asp.net project code, but I had no habit of recording notes before. I want to use this opportunity to archive some of the Code commonly used in the project. Today I want to sort out the most common code and paging controls.
We usually need to install and configure WSS because we usually need to use BAS and BAM in BizTalk projects (such as RosettaNet). By Default, WSS is upgraded to the Default Web Site (80, however, if Asp. net WebSite requires a Host in the default
Today, the great water is fierce, and the two giants are recreating the rivers and lakes. The home page starts to take effect instantly. On this business trip, the grass and grass are coming, and the content is under the tide.
If you think this
I wanted to record this for a long time ago, but I never had time. I was able to spare one afternoon, so I tried to do something as much as possible.
There is still a lot of evidence than the old zhao's video, so it is only used as a record for my
By default, ASP. Net does not have the permission to write system logs. To write system logs in ASP. Net, you must have the permissions first. We can solve this problem by setting or modifying the Registry Permissions.
Method 1: "START-> Run", enter
I. Verification Code
For a web form to prevent attacks, the verification code is usually a common measure. For some pages in the public area, for example, a logon form, if there are no necessary security measures, it is likely to be under brute
1. ASP and Access database connection:
Copy codeThe Code is as follows: dim strConn
Dim conn
StrConn = "Provider = Microsoft. Jet. OLEDB.4.0; Data Source =" + Server. mappath ("data/isp. mdb") + "; Persist Security Info = False"
Set conn = Server.
The instance where the object reference is not set to the object
I. general statement on the network
1. The ViewState object is Null.
2. DateSet is empty.
3. DataReader is empty due to SQL statements or Datebase.
4. When a string variable is
Let's take a look at this Bug!
Add OutputCache settings to an. aspx file. The Code is as follows:Copy codeThe Code is as follows:
The preceding settings indicate that the cache is cached for 5 minutes and updated based on different query strings.
Since ASP. NET became available, developers have been asking for a solution (Microsoft), while ASP. NET 2.0 provides an effective solution by using pre-compilation.
Pre-compilation optionsWhen the application is started for the first time, ASP. NET
1. Convert 'utf to GB-convert UTF8 encoded text into GB encoded text
Copy codeThe Code is as follows: function UTF2GB (UTFStr)
For Dig = 1 to len (UTFStr)'If the UTF8 encoded text starts with %, the conversion is performed.If mid (UTFStr, Dig, 1) =
Today, I am here to provide you with an idea of database operations. These codes are constantly completed and corrected in the long-term ASP application, it has already been used to complete many projects. It should be said that it is no problem to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service