最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
使用隐藏form把数据从客户端传到服务端
时间:2022-06-30 10:07:55 编辑:袖梨 来源:一聚教程网
源程序下载在本站的源程序栏的html一代类型里,名为隐藏窗体的应用例子
Using hidden forms to transfer data from client side to Server side and vice-versa
Author: Sudhakar M
Level of Difficulty: Beginner
Languages covered: ASP, JavaScript
Pre-required reading: None
Date: Apr 19, 2000
Introduction
This paper discusses how to use hidden forms to transfer data from client side to server-side and vice-
versa. This approach is needed when you have an ASP application, with the individual pages dealing with
only a part of the whole data involved, but at a later time, such as exiting the application, all of the
data entered intermediately so far is needed.
One obvious approach is to use Session variables. Session variables need cookies to be enabled to work.
But what if cookies are disabled? Also in today's e-commerce applications there are scenarios where random
servers service the browser requests depending on the load (load-balanced), so there is no session
involved. This is an alternative approach to session variables and cookies.
The Approach
I will discuss the approach by a simple example. Suppose I have an ASP application with three pages
Name.asp, Address.asp, database.asp. The user navigates from one page to another page entering the
information along the way in the first two pages. Also after the information is entered in each particular
page, the server side needs the information, to make some decisions, like to pull some more data out of a
database based on the entered values and send it to the next page. This process continues until the user
reaches the last page, when all of the previous data is committed to the database. The trickiest part is
the information entered in any of the intermediate pages and information deduced from the server side
after submitting a page will be needed anywhere in the subsequent pages and moreover all of the
Using hidden forms to transfer data from client side to Server side and vice-versa
Author: Sudhakar M
Level of Difficulty: Beginner
Languages covered: ASP, JavaScript
Pre-required reading: None
Date: Apr 19, 2000
Introduction
This paper discusses how to use hidden forms to transfer data from client side to server-side and vice-
versa. This approach is needed when you have an ASP application, with the individual pages dealing with
only a part of the whole data involved, but at a later time, such as exiting the application, all of the
data entered intermediately so far is needed.
One obvious approach is to use Session variables. Session variables need cookies to be enabled to work.
But what if cookies are disabled? Also in today's e-commerce applications there are scenarios where random
servers service the browser requests depending on the load (load-balanced), so there is no session
involved. This is an alternative approach to session variables and cookies.
The Approach
I will discuss the approach by a simple example. Suppose I have an ASP application with three pages
Name.asp, Address.asp, database.asp. The user navigates from one page to another page entering the
information along the way in the first two pages. Also after the information is entered in each particular
page, the server side needs the information, to make some decisions, like to pull some more data out of a
database based on the entered values and send it to the next page. This process continues until the user
reaches the last page, when all of the previous data is committed to the database. The trickiest part is
the information entered in any of the intermediate pages and information deduced from the server side
after submitting a page will be needed anywhere in the subsequent pages and moreover all of the
相关文章
- picacg官网入口-嗶叶picacg在线高清观看 03-02
- 哔咔picacg网页版入口安卓下载最新版本-无需跳转的官方地址电脑版安装 03-02
- 爱奇艺国际版官网高速入口-iqiyi海外版网页版一键直达 03-02
- 歪歪漫画网-官网入口首页 03-02
- 妖精漫画免费全集-热门章节全集免费看无门槛 03-02
- jm漫画网页版入口-jm漫画官网最新直达链接 03-02