首页 | 本学科首页   官方微博 | 高级检索  
     

基于.NET的Ajax控件保值技术及其应用
引用本文:谭建平,王成良.基于.NET的Ajax控件保值技术及其应用[J].计算机工程,2008,34(19):83-85.
作者姓名:谭建平  王成良
作者单位:重庆大学软件学院,重庆,400044
摘    要:在页面内使用Ajax技术与服务器通信可提高Web应用的响应速度,但Web服务器控件引起的页面刷新导致整个页面回传后,页面的视图状态处理模型并没有记录Ajax控件在页面变化之前的值,造成Ajax控件值的丢失。该文提出一种状态保存机制,将Ajax控件状态值存储到服务器的Session或者客户端的userData中,使页面刷新后客户端的Ajax控件仍可保留原有值,保证控件状态的持续。

关 键 词:Ajax控件  userData行为  会话  视图状态  状态保存机制  .NET技术
修稿时间: 

Ajax Widget's Value Keeping Technology Based on .NET and Its Application
TAN Jian-ping,WANG Cheng-liang.Ajax Widget's Value Keeping Technology Based on .NET and Its Application[J].Computer Engineering,2008,34(19):83-85.
Authors:TAN Jian-ping  WANG Cheng-liang
Affiliation:(School of Software, Chongqing University, Chongqing 400044)
Abstract:The process will improve the response speed of Web application by using Ajax technology when Web pages communicate with Web server, however, when the Web pages refreshed by Web server widget, the view state process model of the Web page records Web server widget’s state value does not record the Ajax widget’s value and leads to the loss of the Ajax widget’s value. This paper presents a new state value storage mechanism, which makes Ajax widget’s state value be stored in the Web server session object or the user data object of the client side, so that the Ajax widget of the client side can still hold the same value after the Web page refreshed, which ensures the Ajax widgets state continuance.
Keywords:Ajax widget  userData behavior  session  view state  state storage mechanism    NET technology
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号