iis| virtual host involves program:
MS Windows Nt/iis
Description:
share directory causes ASP program source code to leak
Details:
if the root directory of a virtual host is mapped to a network share directory, the IIS server will reverse
Sort
One, show the record
Set Rs=server.createobject ("Adodb.recordset")Sql= "SELECT * from JFNEWSO where newsclass= ' theoretical dynamics ' and Classname= '" &session ("Fenlei") & "' ORDER by Displayorder des C,id DESC "Rs.Open sql,conn,1,1
window| Security | Hard drive C: Partition section:
C:\
Administrators All
Everyone without
System All
of course, this to the following directory is to be changed
C:\Windows
Administrators All
Creator owner
Not an inherited
. only
Asp.net| Request | page
Sometimes when I go to the admin page, the session and the cookie disappear, we want to return to the login page, and we still want to return to the page where we just managed the operation after login. This is a very
Take the first step: what is the actrive Server page technology?
We often say that ASP is not a language, although it appears that the ASP code is scripted. Microsoft defines ASP as an environment for execution by a scripting language. We will be
Effect Chart:
HTML code
GridView Demo
C # codeUsing System;
Using System.Data;
Using System.Data.SqlClient;
Using System.Configuration;
Using System.Collections;
Using System.Web;
Using System.Web.Security;
Using System.Web.UI;
First, create a table Tiku_koushi
if exists (SELECT * from dbo.sysobjects WHERE id =OBJECT_ID (N ' [dbo].[ Tiku_koushi] and ObjectProperty(ID, N ' isusertable ') = 1)drop table [dbo]. [Tiku_koushi]Go
CREATE TABLE [dbo]. [Tiku_koushi] ([ID] [int]
cookie|cookies| Tutorial |cookie
In fact, in web development, a cookie is just a text file, and when a user accesses a site, it is stored on the computer that the user is using, which saves theSome information, the Web can extract this information
Solve | Problems in ASP programming, identity authentication can be said to be often used. But how to achieve the security of certification?
Example:
Form Submission page: sub.htm
Admin Login
admin:
PasswordSub.asp Program' Receive data
Security | safety | security | Security is important for all applications. Security is especially important when a single error in a simple application can result in unauthorized access to the database or other enterprise resources. A common method
Program | dropdown | drop-down list has [group] and [user] Two data tables, requires that the data be read from both tables and displayed as a level two Drop-down table, and the options in the [user] list change accordingly when you select an option
ado| Error | object
What happens if the following error occurs when we run an ASP program?
There is a problem with the page you are trying to access and cannot be displayed.
Try doing the following:
Click the Refresh button, or try again
Beginner 1. Get system time:
2. Access to the IP:
3. Access to the system, browser version:
4. Remove IE Mixing strips:
5. Go to the website and jump out of the advertisement:
6. Random Number:
N is a number that can be changed
7. Move Up
Asp.net|javascript| variable
Method 1:
Use a hidden control, give the value of the variable to the hidden control, and then use JavaScript to find the value of the hidden controlWindow.document.getElementById ("Hide the ID of the control").
Asp.net|asp.net Global.asa must be placed in the root directory of the site
Global.asa
----------------------------------------------------------------------
-------------------------------------------------------------------------
Count_txt.asp
-
The calculated leap year is mainly to determine the number of days in February, the general leap year February is 29 days, excepting February is 28 days. The algorithm for calculating a leap year is very simple: it can be divisible by 400, or it can
Program Landing Page Login.asp:
If request. Form.count>0 Then
Session ("username") =request ("username")
Application (Session ("username")) =session. SessionID
Response. Redirect ("index.asp")
End If
%>
Other pages that need to be
asp.net 6. Theme/Skin
In asp.net2.0, support the theme effect, through the code control theme effects, to achieve the same skin function like Winamp. In the Forum application, a good embodiment of it.
In 2.0 you can use a system-led theme or
Program | Experience before a busy help units to do the site, using the operating platform is Advsever, with IIS release. Start a few static web pages are good, and later because of the organization required to add a forum and chat rooms, are used |
Counter | design | graphic | Here's a nice graphics counter designed without CGI.
Here is divided into three parts: 1, the establishment of graphics files.
2, establish the database.
3, write the code.
1, create graphics files.
First, use the graph
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