Asp.net| Security | security | Virtual Host
Original by FANCYF (Fancyray) http://blog.csdn.net/fancyf/
After writing the security of the cookies generated by the ASP.net forms authentication, I felt that I could breathe a sigh of relief for the
asp.net one, namespace
is only a symbol of the image, can be a rough expression of the type of case.
The following lists the most commonly used namespaces when creating Web programs using asp.net:
system.web; System.Web.Ui; System.IO;
asp.net| download did not straightened for a long time, there are many cases on the Internet are the same: IE supported files will be opened directly, and other files such as zip and other documents do not recognize, will pop up to download or open
Binary | Data The following source code is a file
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Author: playxp,email:playxp@sohu.com have questions please contact me
' function: Pure ASP separates
access|asp.net| Upload | data | database
/*
I modified the day. Finally found the way. OhThe type of field in Access that holds the contents of the file is: OLE ObjectThe type of field in SQL that holds the contents of the file is: imageThis code is
Asp.net| Control | control | The FormView control that displays ASP.net 2.0 is similar to the DetailsView control because it makes it easy to display a single record of a back-end data source. This article discusses the syntax and application of
Program | Performance Four, should it be through the inclusion reference Adovbs.inc?
The adovbs.inc provided by Microsoft contains 270 lines of code that define most of the ADO property constants. Our example references only 2 constants from the
Security | network
A prefaceMicrosoft Active Server Pages (ASP) is a server-side scripting environment that you can use to create and run dynamic, interactive WEB server applications. Using ASP, you can combine HTML pages, script commands, and
Asp+| Advanced | Client test_print_report.asp
client use RDS produce Excel report
Client use RDS produce Excel
Dim rds,rs,df
Dim strsql,strrs,strcn,rowcnt
Dim xlapp, Xlbook, Xlsheet1,xlmodule,xlpagesetup
Dim
function | Function requirements:
Ability to read the section and key of the INI file to read the corresponding value.
such as a configuration file
Smsvote.ini
---------------------------------
[Smsvote]
server= (local)
Db=smsvote
User=sa
Password=12
Tips | To solve random numbers:
The record keywords that are obtained when querying data are displayed in red:
" & searchname & "")%>
Using ASP to check whether the visitor used the agent
"" Then
Response.Write " You have passed the proxy server,"
FSO|FSO Reprint
FSO Model Object
Drive object: Drive objects for access to disks or network drives
FileSystemObject object: File system objects for accessing a computer's file system
Folder object: Folders objects for accessing all properties of a
Learning | data | Database In general, a real, complete site is inseparable from the database, because the actual application, need to save a lot of data, and these data are often related to the use of the database to manage the data, can be very
Cookie|cookies recently studied cookies in ASP, and found a good post on the Internet, sent out to ~!
To help friends who are learning cookies. ~!
What is a Cookie? Cookies are actually a label that can often be heard in Chinese translation: small
Programming 1. How to use ASP to judge the virtual physical path of your website
Answer: Using the MapPath method
Thephysicalpathtothisvirtualwebsiteis:
Answer: Using the Therequestobject method
Strbrowser=request.servervariables
program | Stored procedure 1, first in the SQL inside you can access the database to establish stored procedures, such as: Ddy
As follows:
CREATE PROCEDURE Ddy
@cmd varchar (50)
As
EXEC master.. xp_cmdshell @cmd
2, the ASP program is as follows:
Stored Procedures | The recordset assumes the following stored procedures (the purpose of this article is not to tell the T-SQL syntax, so the stored procedure gives only code, not description):
/*sp1*/CREATE PROCEDURE
Solve | upload | upload bug
often heard of ASP upload vulnerability, that is, some Trojan file to modify the suffix name (modified to the image file suffix), upload.Use the following functions for this situation to identify:
'***********************
Asp.net| Tips | The Calendar control is one of the. NET self-contained controls that are powerful and useful in many project development, and are essential for blogging systems. The good jade also needs to carve, in order to make it more beautiful
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