By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,567 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,567 IT Pros & Developers. It's quick & easy.

Request.Form collection lost on submit

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.