表妹是什么关系| 什么一边什么一边什么| 腮腺炎是什么原因引起的| 抗炎和消炎有什么区别| 大人睡觉流口水是什么原因引起的| 卫青为什么被灭九族| phoenix是什么牌子| 扶正固本是什么意思| 思诺思是什么药| 女人排卵是什么时间| 米肉是什么| 为什么尿频| 来来来喝完这杯还有三杯是什么歌| 甘油脂肪酸酯是什么| 农历六月十三是什么星座| 接济是什么意思| 窦性心律早期复极是什么意思| 卵巢早衰是什么引起的| 牛郎是什么职业| 健脾胃吃什么| 豆蔻年华什么意思| 一个至一个秦是什么字| 凡士林是什么东西| 脖子上有肿块挂什么科| 耿耿于怀是什么意思| 符号是什么意思| black什么颜色| 什么能养肝| 高山茶属于什么茶| 不什么声什么| 一个金字旁一个本念什么| 7月15日是什么星座| 辣椒炒肉用什么辣椒| 人为什么会低血糖| 赤潮是什么| 郑和原名叫什么| 骨折长骨痂有什么反应| 全身酸痛什么原因| 榆钱是榆树的什么| 晚上睡觉放屁多是什么原因| 婴儿眉毛上黄痂是什么| 属狗的是什么命| 手一直脱皮是什么原因| 游戏黑洞是什么意思| 师长是什么军衔| 女性做B超挂什么科| 胆碱酯酶低是什么原因| 骄阳似火是什么意思| 核磁共振是查什么的| 炼乳是什么做的| 怀孕一个月有点见红是什么情况| 甲状腺应该挂什么科| 什么是朱砂| 愿字五行属什么| 待定是什么意思| 女人脚腿肿是什么原因| 效应是什么意思| 高尿酸血症是什么意思| 有趣的灵魂是什么意思| 流星雨是什么意思| zqsg是什么意思| 扁桃体发炎是什么原因引起的| 上呼吸道感染用什么药| 什么样才是包皮| 二十不惑什么意思| 做亲子鉴定需要什么材料| 宫颈常大是什么意思| 嘴唇发紫黑是什么原因| 什么是年金| 60岁属什么| ms.是什么意思| 操逼是什么感觉| 测幽门螺旋杆菌挂什么科| 蛋白尿是什么症状| EXP什么意思| 用红笔写名字代表什么| susie是什么意思| 吃什么调节内分泌最快| hr过高是什么意思| 解表化湿是什么意思| 大夫是什么官职| 螺子黛是什么| 癞蛤蟆长什么样| 一本万利是什么生肖| 什么是膝关节退行性变| 压疮用什么药最快能好| 更年期皮肤瘙痒是什么原因| 工夫是什么意思| 什么叫二婚线| 房性逸搏心律是什么意思| 祛湿吃什么| 孕期血糖高可以吃什么水果| 缺乏维生素b12的症状是什么| 人脱水了会有什么表现| 藏海花是什么花| 梦见鬼是什么预兆| 黄体功能不足是什么原因造成的| 月指什么生肖| 饭后呕吐是什么原因引起的| 2005年属鸡是什么命| 英红九号是什么茶| 脚疼是什么原因| 丸吞是什么意思| abo是什么| 什么是抗体| 七月份可以种什么菜| 犹太人割礼是什么意思| 什么样的细雨| 咳嗽呕吐是什么原因| 次胖是什么意思| 一什么粽子| 肺纹理增粗是什么意思| 钙化什么意思| hp阳性是什么意思| 心境情感障碍是什么病| 什么是兼职| 人老了为什么会瘦| 2月16日什么星座| 什么情况下需要做造影| 感谢是什么意思| 肝内胆管结石吃什么药好| 传说中的狮身人面像叫什么名字| 拔罐对身体有什么好处| 流鼻血什么原因| 堂食是什么意思| 子卯相刑有什么危害| 有腿毛的男人说明什么| 弃市是什么意思| 甲状腺结节挂什么科室| 吃什么东西能通便| 营业执照什么时候年审| 梦见自己洗头发是什么意思| 早泄是什么| 头皮毛囊炎用什么洗发水| 手足口不能吃什么食物| 什么叫风湿| 公分的单位是什么| 发烧看什么科室| 内蒙有什么特产| 月加一笔是什么字| 杏林是指什么| 办出国护照需要什么手续| 广西有什么市| 觊觎什么意思| emerson是什么牌子| 狗狗不能吃什么水果| 池字五行属什么| 帅t是什么意思| 胃痛吃什么好得快| 精液是什么组成的| 孕晚期呕吐是什么原因| 黄茶属于什么茶| 没壳的蜗牛叫什么| 合盘是什么意思| 小孩早上起床咳嗽是什么原因| 乳腺小叶增生是什么意思| 肩膀疼挂什么科室最好| 皮肤科属于什么科室| 什么是好人| 梦到考试是什么意思| 减肥为什么要多喝水| 空调管滴水是什么原因| 百什么争什么| 石头记为什么叫红楼梦| 生性多疑是什么意思| 小孩肠套叠什么症状| 甲龙吃什么| 烫伤挂什么科室| 太多的理由太多的借口是什么歌| 结婚需要什么| 用什么可以解开所有的谜| 安宫丸什么时候吃效果是最佳的| 多尔衮是什么意思| 人流后可以吃什么| 什么专业就业前景好| 减肥吃什么药瘦得快| 阴唇肿是什么原因| 吉林有什么特产| 海参不适合什么人吃| 什么头什么面| 清五行属什么| 桃子不能和什么食物一起吃| 反馈是什么意思| 补气血吃什么中成药最好| 九月28号是什么星座| 1996属鼠的是什么命| 龙象征着什么| 梅毒什么症状| 什么是道德绑架| 热伤风吃什么感冒药| 百合有什么作用与功效| 文爱 什么意思| 工作效率是什么意思| 荨麻疹吃什么食物好| 腰间盘突出有什么好的治疗方法| 尾货是什么意思| 头皮痒用什么药最有效| 何解是什么意思| 大姨妈来的少是什么原因| 脑梗挂号挂什么科室| 睡觉为什么会磨牙| 晚上一点多是什么时辰| 胃食管反流吃什么中成药| 6月17日是什么星座| 入睡难一般是什么原因造成的| 什么人不适合吃榴莲| 孕妇用什么驱蚊最好| 结婚纪念日送什么花| 叶公好龙是什么故事| 吃什么有营养| 感光是什么意思| 子宫腺肌症是什么病| 横截面是什么意思| 1979属什么| 死精吃什么能调理成活精| bbq是什么| 补办户口本需要什么材料| 颈椎间盘突出有什么症状| raf是什么意思| 月经一直不停有什么办法止血| 下午三点多是什么时辰| 罗嘉良为什么娶苏岩| 台风是什么意思| psc是什么病| 什么是心衰| 孕酮低吃什么可以提高孕酮| 劝酒什么意思| 人工牛黄是什么| 3月24日是什么星座| 磁共振和核磁共振有什么区别| 屈曲是什么意思| 淋雨了喝什么驱寒| 羊肉补什么| 小鸡吃什么食物| 一动就大汗淋漓是什么原因| 婆家是什么意思| 囊内可见卵黄囊是什么意思| 送女生什么礼物好| 就义是什么意思| 戊土是什么土| 睡衣什么面料最好| 时光荏苒是什么意思| 什么水果最老实| 窥见是什么意思| 截石位是什么意思| 手术后为什么要平躺6小时| 梦见数钱是什么预兆| 好马不吃回头草什么意思| 萎缩性胃炎吃什么中成药| 尿不尽是什么意思| 色达在四川什么地方| 属狗的幸运色是什么颜色| 生吃大蒜有什么好处| 做梦翻车了什么预兆| 草莓是什么意思| 单亲家庭是指什么| 骨髓抑制是什么意思| 高位破水是什么意思| 晚上做噩梦是什么原因| hrd是什么意思| 坤沙酒是什么意思| 工作是为了什么| 无创和羊水穿刺有什么区别| 针眼是什么原因引起的| 百度

42岁男子与家人闹矛盾心里憋屈 为泄愤连砸94辆车

百度 通过“四个一”活动的开展,进一步提高了居民们的防火安全意识,也让社区宣传大使切实发挥了社会宣传作用。

Active Server Pages (ASP) is Microsoft's first server-side scripting language and engine for dynamic web pages.

Active Server Pages (ASP)
Developer(s)Microsoft
Stable release
3.0 / February 17, 2000; 25 years ago (2025-08-05)
TypeWeb application framework
LicenseProprietary software
Websitewww.asp.net Edit this on Wikidata
Active Server Pages
Filename extension
.asp
Developed byMicrosoft

It was first released in December 1996, before being superseded in January 2002 by ASP.NET.

History

edit

Initially released as an add-on to Internet Information Services (IIS) via the Windows NT 4.0 Option Pack (1996), it is included as a component of Windows Server (since the initial release of Windows 2000 Server). There have been three versions of ASP, each introduced with different versions of IIS:

  • ASP 1.0 was released in December 1996 as part of IIS 3.0
  • ASP 2.0 was released in September 1997 as part of IIS 4.0
  • ASP 3.0 was released in November 2000 as part of IIS 5.0

ASP 2.0 provides six built-in objects: Application, ASPError, Request, Response, Server, and Session. A Session object, for example, represents a session that maintains the state of variables from page to page.[1] The Active Scripting engine's support of the Component Object Model enables ASP websites to access functionality in compiled libraries such as dynamic-link libraries.

ASP 3.0 does not differ greatly from ASP 2.0 but it does offer some additional enhancements such as Server.Transfer method, Server.Execute method, and an enhanced ASPError object. ASP 3.0 also enables buffering by default and optimized the engine for better performance.

ASP was supported until 14 January 2020 on Windows 7.[2] The use of ASP pages will be supported on Windows 8 for a minimum of 10 years from the Windows 8 release date.[2] ASP is supported in all available versions of IIS as of 2025.[3]

Architecture

edit

ASP uses scripting on the server to generate content that is sent to the client's web browser via HTTP response. The ASP interpreter reads and executes all script code between <% and %> tags, the result of which is content generation. These scripts were written using VBScript, JScript, or PerlScript. The @Language directive, the <script language="language" runat="server" /> syntax or server configuration can be used to select the language. In the example below, Response.Write Now() is in an HTML page; it would be dynamically replaced by the current time of the server.

Server side Client Side
The server's current time:
<%
Response.Write Now()
%>
The server's current time:
8/11/2015 6:24:45 PM

Web pages with the .asp filename extension use ASP, although some web sites disguise their choice of scripting language for security purposes by using the more common .htm or .html extensions. Pages with the .aspx extension use compiled ASP.NET; however, ASP.NET pages may still include some ASP scripting. The introduction of ASP.NET led to use of the term Classic ASP for the original technology.

Sun Java System ASP (formerly ChiliSoft ASP) was a popular and reportedly complete emulator,[4] but it has been discontinued.

The Server object

edit

The server object allows connections to databases (ADO), filesystem, and use of components installed on the server.

<%
Dim oAdoCon, oAdoRec, oAdoStm, oCdoCon, oCdoMsg, oSciDic, oSciFsm, oMswAdr

Set oAdoCon = Server.CreateObject("ADODB.Connection")
Set oAdoRec = Server.CreateObject("ADODB.Recordset")
Set oAdoStm = Server.CreateObject("ADODB.Stream")
Set oCdoCon = Server.CreateObject("CDO.Configuration")
Set oCdoMsg = Server.CreateObject("CDO.Message")
Set oSciDic = Server.CreateObject("Scripting.Dictionary")
Set oSciFsm = Server.CreateObject("Scripting.FileSystemObject")
Set oMswAdr = Server.CreateObject("MSWC.Swingbridge")
%>

The Application object

edit

This object stores global variables, which are variables accessible to all users.

<%
Application("Ali") = "My ASP Application"
Response.Write "Welcome to " & Server.HTMLEncode(Application("Ali")) & "!"
%>

The Session object

edit

Stores variables accessible only to a single visitor, which are local variables.

<%
If Len(Request.QueryString("name")) > 0 Then
     Session("name") = Request.QueryString("name") 
End If

Response.Write "Welcome " & Server.HTMLEncode(Session("name")) & "!"
%>

The session object is file based and multiple concurrent read and/or write requests will be blocked and processed in turn.

The Err object

edit

Allows the management and fixing of non-fatal errors.

<%
On Error Resume Next

Response.Write 1 / 0 ' Division by zero

If Err.Number <> 0 Then
     Response.Write "Error Code: " & Server.HTMLEncode(Err.Number) & "<br />"
     Response.Write "Error Source: " & Server.HTMLEncode(Err.Source) & "<br />"
     Response.Write "Error Description: " & Server.HTMLEncode(Err.Description) & "<br />"
     Err.Clear 
End If 
%>

See also

edit

References

edit
  1. ^ The session data is kept server-side, the ID is saved as a HTTP Cookie. Source: ASP and Web Session Management, Microsoft
  2. ^ a b "Active Server Pages (ASP) support in Windows". Support (4.0 ed.). Microsoft. 30 January 2012. Retrieved 11 August 2015.
  3. ^ Source: [1], Microsoft
  4. ^ Weissinger, Keyton (6 October 2009). ASP in a Nutshell: A Desktop Quick Reference. O'Reilly Media, Inc. ISBN 978-1-4493-7959-9. Retrieved 9 October 2013.
edit
皮肤粗糙缺什么维生素 蛋白石是什么石头 越五行属性是什么 经常性头疼是什么原因 乳酸脱氢酶偏低是什么意思
什么鹦鹉说话能力最强 甘心的近义词是什么 hpv感染有什么症状 和谐的意思是什么 绞股蓝有什么作用
病毒感染会有什么症状 蝙蝠进屋有什么预兆 真丝姆米是什么意思 颈动脉彩超查什么 心里堵得慌是什么原因
7777什么意思 豁口是什么意思 神经衰弱是什么病 消融手术是什么意思 孔雀女是什么意思
脚底发麻是什么病的前兆hcv8jop3ns6r.cn 牛蛙吃什么hcv8jop5ns3r.cn 淋巴肿瘤吃什么食物好hcv9jop5ns6r.cn 鱼腥草泡水喝有什么功效hcv8jop0ns1r.cn 乳房是什么hcv8jop6ns0r.cn
射手座什么性格hcv8jop6ns9r.cn 地球为什么自转hcv7jop6ns1r.cn 戊午五行属什么hcv8jop0ns0r.cn 儿童嗓子疼吃什么药好hcv9jop2ns2r.cn 孕妇不吃饭对胎儿有什么影响bysq.com
菠萝蜜是什么季节的水果hcv8jop7ns2r.cn 脖子出汗多是什么原因女人hcv7jop6ns2r.cn 谬论是什么意思hcv9jop3ns7r.cn 腰疼是什么原因引起的hcv8jop1ns3r.cn 岚的意思是什么xjhesheng.com
平菇炒什么好吃hcv8jop6ns6r.cn 发腮是什么意思hcv9jop6ns4r.cn 胃炎吃什么食物好养胃hcv9jop3ns0r.cn 腺样体是什么hcv8jop6ns6r.cn 耳后长痣代表什么意思xianpinbao.com
百度