473,405 Members | 2,261 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Handling multiple forms with single ASP page

Hi,

I am novice in ASP and am trying to build an online test that records
user input one question at a time. So each question is a form by
itself. I want to make a single ASP file that will validate all the
form results and write it to a database. How can I know which form is
calling the ASP file?

Also, there may be multiple users accessing the quiz at the same time.
Do I have to do anything special for such a case?

Thanks a lot . Please help.

Regards,
Ram
Jul 19 '05 #1
3 6266
Ramachandran wrote on 21 aug 2004 in
microsoft.public.inetserver.asp.general:
I am novice in ASP and am trying to build an online test that records
user input one question at a time. So each question is a form by
itself. I want to make a single ASP file that will validate all the
form results and write it to a database. How can I know which form is
calling the ASP file?
You should use only one(!) form if you direct the submit to one page [could
be the same page the form is in]
Also, there may be multiple users accessing the quiz at the same time.
Do I have to do anything special for such a case?


They all should have their own session [if you disallow users that have
their session cookies switched off in their browsers.]
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
Hi Evertjan,

Thanks for your response. Does that mean that I don't
have to do anything special if all users have cookies
enabled?

Regards,
Ram
-----Original Message-----
Ramachandran wrote on 21 aug 2004 in
microsoft.public.inetserver.asp.general:
I am novice in ASP and am trying to build an online test that records user input one question at a time. So each question is a form by itself. I want to make a single ASP file that will validate all the form results and write it to a database. How can I know which form is calling the ASP file?
You should use only one(!) form if you direct the submit

to one page [couldbe the same page the form is in]
Also, there may be multiple users accessing the quiz at the same time. Do I have to do anything special for such a case?
They all should have their own session [if you disallow

users that havetheir session cookies switched off in their browsers.]
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
.

Jul 19 '05 #3
Ram wrote on 21 aug 2004 in microsoft.public.inetserver.asp.general:
Thanks for your response. Does that mean that I don't
have to do anything special if all users have cookies
enabled?


Just code away, Ram.

But do one thing at a time and test the steps seperately.
[modular programming]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: noah | last post by:
Does PHP have a feature to associate Cookie sessions with a persistent database connection that will allow a single transaction across multiple HTTP requests? Here is how I imagine my process: I...
1
by: Chris Beach | last post by:
Hi, I have a JSP page with several forms on it. Some of these forms are generated dynamically, and each of them submits some information to a database. Handling one form is easy, as I can...
0
by: jon | last post by:
Using Visual C++ and MFC, one could generate a very nice MMI using CFormView and the method detailed in the MSDN "vswap" example to allow multiple forms to be viewed ( switched to ) within a single...
3
by: Pint | last post by:
I have a simple web user control. I'd like for this form to appear twice on a single aspx page. How do I get around the problem of having more than one <form runat=server> tag? More background:...
12
by: scsharma | last post by:
Hi, I am working on creating a webapplication and my design calls for creating main webform which will have menu bar on left hand side and a IFrame which will contain all the forms that are shown...
3
by: imrantbd | last post by:
I need array type name like "destList" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList" select box and send all selected value in php...
5
by: c676228 | last post by:
Hi everyone, my colleagues are thinking about have three insurance plans on one asp page: I simplify the plan as follow: text box:number of people plan1 plan2 plan3
44
by: Kulgan | last post by:
Hi I am struggling to find definitive information on how IE 5.5, 6 and 7 handle character input (I am happy with the display of text). I have two main questions: 1. Does IE automaticall...
9
by: Josh | last post by:
I run a Joomla website and am familiar with php in some but not all aspects. Currently I am trying to find some solutions related to session handling. Am I correct in saying that "login" is kept...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.