473,503 Members | 1,655 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.asp" )I post this page to "ProcessData.asp" which process all
the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.asp" 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 3549
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_*****@hotmail.com> wrote in message
news:OI*************@TK2MSFTNGP14.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.asp" )I post this page to "ProcessData.asp" which process all
the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.asp" 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.asp" 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**************@TK2MSFTNGP14.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_*****@hotmail.com> wrote in message
news:OI*************@TK2MSFTNGP14.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.asp" )I post this page to "ProcessData.asp" which process all the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.asp" 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.asp" 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_*****@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP14.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.asp" 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**************@TK2MSFTNGP14.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_*****@hotmail.com> wrote in message
news:OI*************@TK2MSFTNGP14.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.asp" )I post this page to "ProcessData.asp" which process all the database transactions like updates, deletes and inserts.

At the begining/top of the "ProcessData.asp" 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**************@TK2MSFTNGP14.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_*****@hotmail.com> wrote in message
news:eC**************@TK2MSFTNGP14.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.asp" 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**************@TK2MSFTNGP14.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_*****@hotmail.com> wrote in message
news:OI*************@TK2MSFTNGP14.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.asp" )I post this page to "ProcessData.asp" which
process all
> the database transactions like updates, deletes and inserts.
>
> At the begining/top of the "ProcessData.asp" 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
2279
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
5892
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...
2
2155
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...
10
6888
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....
1
1074
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
3745
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...
8
3064
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...
2
8937
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...
1
4848
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...
0
7074
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...
1
6982
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
5572
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,...
1
5000
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...
0
4667
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3161
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...
0
3150
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1501
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
731
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.