473,611 Members | 2,242 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Request.Form collection lost on submit

mvr
Hi all

IIS 5.0, ASP, and https://

I have "DataEntrypage. asp" which is a data entry page(about 250
data elements includes text boxes, radio buttons, check boxes, drop down
boxes etc).

After the data validation through javascript(form .action =
"ProcessData.as p" )I post this page to "ProcessData.as p" which process all
the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.as p" I loop through
Request.Form collection and store them in a text file on the WEB SERVER.

Once in a while the whole Request.Form collection is disappearing in
the text file. At that instances it is creating the text file with size of
1kb but it is not
showing any thing in the file.

I checked and it is not loosing the session information.

Does any one ran into this situation. Any lead will be appreciated.

Thanks
mvr



Jul 22 '05 #1
5 3560
Have you ever seen this behavior directly? Like, instead of seeing an empty
file and assuming that means that the request.form collection is empty? How
do you know it's not something else?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:OI******** *****@TK2MSFTNG P14.phx.gbl...
Hi all

IIS 5.0, ASP, and https://

I have "DataEntrypage. asp" which is a data entry page(about 250
data elements includes text boxes, radio buttons, check boxes, drop down
boxes etc).

After the data validation through javascript(form .action =
"ProcessData.as p" )I post this page to "ProcessData.as p" which process all
the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.as p" I loop through
Request.Form collection and store them in a text file on the WEB SERVER.

Once in a while the whole Request.Form collection is disappearing in the text file. At that instances it is creating the text file with size of
1kb but it is not
showing any thing in the file.

I checked and it is not loosing the session information.

Does any one ran into this situation. Any lead will be appreciated.
Thanks
mvr


Jul 22 '05 #2
mvr
Ray

Yes, I saw the result directly on my database tables.

In the case of empty request.form collection the table's are updated with
null values, clearing the old prefill data.
(Programmed under the assumption that we will get data by request.form
collection and the page "ProcessData.as p" process the update based on the
request.form values )

The key feild I use to update is the logged in user(a session variable). I
see an updated executed by this user on the database table.

Apart from the session variable I was trapping the user's browser info,
which I can see on the text file I created.

I started creating this text file only after the fact that we are loosing
some data.

Thanks
mvr
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ek******** ******@TK2MSFTN GP14.phx.gbl...
Have you ever seen this behavior directly? Like, instead of seeing an empty file and assuming that means that the request.form collection is empty? How do you know it's not something else?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:OI******** *****@TK2MSFTNG P14.phx.gbl...
Hi all

IIS 5.0, ASP, and https://

I have "DataEntrypage. asp" which is a data entry page(about 250 data elements includes text boxes, radio buttons, check boxes, drop down
boxes etc).

After the data validation through javascript(form .action =
"ProcessData.as p" )I post this page to "ProcessData.as p" which process all the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.as p" I loop through
Request.Form collection and store them in a text file on the WEB SERVER.

Once in a while the whole Request.Form collection is disappearing
in
the text file. At that instances it is creating the text file with size

of 1kb but it is not
showing any thing in the file.

I checked and it is not loosing the session information.

Does any one ran into this situation. Any lead will be

appreciated.

Thanks
mvr



Jul 22 '05 #3
mvr wrote:
At the begining/top of the "ProcessData.as p" I loop through
Request.Form collection and store them in a text file on the
WEB SERVER.


And just how do you prevent processes from stepping on each other? Do you
create a different text file for each session? If not, I would expect
exactly the type of behavior you describe.
--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #4
I have seen the request.form collection be empty when using Windows
authentication on a site. Are you using that?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:eC******** ******@TK2MSFTN GP14.phx.gbl...
Ray

Yes, I saw the result directly on my database tables.

In the case of empty request.form collection the table's are updated with
null values, clearing the old prefill data.
(Programmed under the assumption that we will get data by request.form
collection and the page "ProcessData.as p" process the update based on the
request.form values )

The key feild I use to update is the logged in user(a session variable). I
see an updated executed by this user on the database table.

Apart from the session variable I was trapping the user's browser info,
which I can see on the text file I created.

I started creating this text file only after the fact that we are loosing
some data.

Thanks
mvr
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ek******** ******@TK2MSFTN GP14.phx.gbl...
Have you ever seen this behavior directly? Like, instead of seeing an empty
file and assuming that means that the request.form collection is empty?

How
do you know it's not something else?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:OI******** *****@TK2MSFTNG P14.phx.gbl...
Hi all

IIS 5.0, ASP, and https://

I have "DataEntrypage. asp" which is a data entry page(about 250 data elements includes text boxes, radio buttons, check boxes, drop down boxes etc).

After the data validation through javascript(form .action =
"ProcessData.as p" )I post this page to "ProcessData.as p" which process all the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.as p" I loop through
Request.Form collection and store them in a text file on the WEB SERVER.
Once in a while the whole Request.Form collection is disappearing
in
the text file. At that instances it is creating the text file with

size of 1kb but it is not
showing any thing in the file.

I checked and it is not loosing the session information.

Does any one ran into this situation. Any lead will be

appreciated.

Thanks
mvr




Jul 22 '05 #5
mvr
Do you mean, "Integrated Windows authentication" on Authentication Methods.
If so "Yes" we are us windows authentication.
So what is the work around?

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uJ******** ******@TK2MSFTN GP14.phx.gbl...
I have seen the request.form collection be empty when using Windows
authentication on a site. Are you using that?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:eC******** ******@TK2MSFTN GP14.phx.gbl...
Ray

Yes, I saw the result directly on my database tables.

In the case of empty request.form collection the table's are updated with
null values, clearing the old prefill data.
(Programmed under the assumption that we will get data by request.form
collection and the page "ProcessData.as p" process the update based on the request.form values )

The key feild I use to update is the logged in user(a session variable). I see an updated executed by this user on the database table.

Apart from the session variable I was trapping the user's browser info,
which I can see on the text file I created.

I started creating this text file only after the fact that we are loosing some data.

Thanks
mvr
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ek******** ******@TK2MSFTN GP14.phx.gbl...
Have you ever seen this behavior directly? Like, instead of seeing an

empty
file and assuming that means that the request.form collection is
empty? How
do you know it's not something else?

Ray at work

"mvr" <v_*****@hotmai l.com> wrote in message
news:OI******** *****@TK2MSFTNG P14.phx.gbl...
> Hi all
>
> IIS 5.0, ASP, and https://
>
> I have "DataEntrypage. asp" which is a data entry
page(about 250
> data elements includes text boxes, radio buttons, check boxes, drop down > boxes etc).
>
> After the data validation through javascript(form .action =
> "ProcessData.as p" )I post this page to "ProcessData.as p" which
process all
> the database transactions like updates, deletes and inserts.
>
> At the begining/top of the "ProcessData.as p" I loop through
> Request.Form collection and store them in a text file on the WEB

SERVER. >
> Once in a while the whole Request.Form collection is

disappearing
in
> the text file. At that instances it is creating the text file with

size
of
> 1kb but it is not
> showing any thing in the file.
>
> I checked and it is not loosing the session information.
>
> Does any one ran into this situation. Any lead will be
appreciated.
>
> Thanks
> mvr
>
>
>
>
>
>
>



Jul 22 '05 #6

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

Similar topics

6
2284
by: Agoston Bejo | last post by:
Hi. x1.asp: <form method="post" action="x2.asp"> .... </form> x2.asp: DoSomeAdministration() Response.Redirect "x3.asp?" & Request.Form x3.asp: further processsing of data
4
5905
by: Zibi | last post by:
I try to use script from www.freeaspupload.net for upload file. I need to store in session object the names of uploaded files but I get an error - Cannot use Request.Form collection after calling BinaryRead How can I make it? Part of this script: <form name="frmSend" method="POST" enctype="multipart/form-data" action="upload_file.asp" onSubmit="return onSubmitForm();"> <span>File 1 :</span> <input type="file" name="file" size="35"
2
2169
by: KathyB | last post by:
Hi, I have a transformed xml source into html for client input. In order to update the xmlDoc on the server, how do I specify the correct nodes if they are built dynamically through assigning id's via the xsl transformation? Example: within the xml/html I could have two input boxes whose names are not assigned until tranformation, e.g., step_2.1_measure, step_3.2_measure. How to capture the inner.text of these two items in
10
6906
by: Kathy Burke | last post by:
HI. in asp.net app, I have an xmlDocument that I transform to the client html. Using xsl I create a few textboxes to capture user input. Each of these are related to <data> elements in the xmlDoc. I want to use the Forms collection to post the html form back to an asp.net page, and process each request.form object (textbox) via an xml node.value update. For any given xmlDocument there is an unknown number of items resulting in...
1
1080
by: Bijoy Naick | last post by:
I have a form with mutiple text fields, all of similar nature.. for example: userName1, location1 userName2, location2 .. .. .. userName10, location10
3
3749
by: Kobi.Pinhasov | last post by:
Hello, I'm using HttpModule to capture requests to the web server. Before processing the page I'd like to check the values contained in some keys of the Request.Form collection and according to some logic change if necessary. I'd like to do this when BeginRequest event is fired. The problem is that the Request.Form collection is readonly. Is there any way to accomplish this task ?
8
3074
by: abcd | last post by:
I can get the value on the form at the server side by using Request.form("max") when max field is disabled I dont get value. For GUI and business logic purpose I have disabled some fields with the values, but when I update Request.form does not return me anything for disabled fields. How to read disabled fields at the server side
2
8968
by: Griff | last post by:
Bizarre problem here.... I have a classic ASP web page that exists in one project. I have copied this code file into another web project and it errors! The code has not been altered in any way, so I'm not sure why its errored. In more details: The page starts by validating the user, so reads from the request object,
1
4884
Soniad
by: Soniad | last post by:
Hi, I want to know, Is there any way in VBScript to clear forms collection values.So that,when I refresh page using "F5" or "Refresh" button;The page should be displayed fresh.The values stored in Request.Form collections should not be displayed. Regards, "D"
0
8149
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8097
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8596
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8561
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8240
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8411
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6072
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4042
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
1692
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.