473,398 Members | 2,088 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,398 software developers and data experts.

No. Of Times Form Posted

How do I find out how many times a Web Form has been posted by one SINGLE user within the SAME SESSION? For e.g. suppose a user named Nancy is filling out a Web Form. Due to some reasons or the other, she has to post the same Form 4 times after which she winds up. She leaves i.e. her session expires & another user, say, Simon sits on the same machine to fill out the same Form. Citing this example, how do I find out how many times had Nancy (not Simon) posted the Form?

Thanks,
Arpan
Nov 19 '05 #1
3 937
Arpan,
If you are trying to find out this information after all this has
occurred, then you will need to log the counts in a database for later
reporting. You can increment a variable in the Session object, but this
data will be gone when the session expires. Or you could save the
information to the database during the Session_End event.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Arpan" <ar******@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP15.phx.gbl...
How do I find out how many times a Web Form has been posted by one SINGLE
user within the SAME SESSION? For e.g. suppose a user named Nancy is filling
out a Web Form. Due to some reasons or the other, she has to post the same
Form 4 times after which she winds up. She leaves i.e. her session expires &
another user, say, Simon sits on the same machine to fill out the same Form.
Citing this example, how do I find out how many times had Nancy (not Simon)
posted the Form?

Thanks,
Arpan
Nov 19 '05 #2
Thanks, Jeffrey, for your advice.Yeah I know that the count can be tracked using a database or by using a Session variable. Actually I thought that maybe ASP.NET has come out with something new with respect to this & hence the question!

Anyway, thanks once again for your prompt response,

Regards,

Arpan
"Jeffrey Palermo [MCP]" <http://dotnetjunkies.com/weblog/jpalermo> wrote in message news:eb**************@TK2MSFTNGP11.phx.gbl...
Arpan,
If you are trying to find out this information after all this has
occurred, then you will need to log the counts in a database for later
reporting. You can increment a variable in the Session object, but this
data will be gone when the session expires. Or you could save the
information to the database during the Session_End event.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Arpan" <ar******@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP15.phx.gbl...
How do I find out how many times a Web Form has been posted by one SINGLE
user within the SAME SESSION? For e.g. suppose a user named Nancy is filling
out a Web Form. Due to some reasons or the other, she has to post the same
Form 4 times after which she winds up. She leaves i.e. her session expires &
another user, say, Simon sits on the same machine to fill out the same Form.
Citing this example, how do I find out how many times had Nancy (not Simon)
posted the Form?

Thanks,
Arpan
Nov 19 '05 #3
Happy Coding!

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Arpan" <ar******@hotmail.com> wrote in message
news:uX****************@TK2MSFTNGP09.phx.gbl...
Thanks, Jeffrey, for your advice.Yeah I know that the count can be tracked
using a database or by using a Session variable. Actually I thought that
maybe ASP.NET has come out with something new with respect to this & hence
the question!

Anyway, thanks once again for your prompt response,

Regards,

Arpan
"Jeffrey Palermo [MCP]" <http://dotnetjunkies.com/weblog/jpalermo> wrote
in message news:eb**************@TK2MSFTNGP11.phx.gbl...
Arpan,
If you are trying to find out this information after all this has
occurred, then you will need to log the counts in a database for later
reporting. You can increment a variable in the Session object, but this
data will be gone when the session expires. Or you could save the
information to the database during the Session_End event.

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo
"Arpan" <ar******@hotmail.com> wrote in message
news:OP**************@TK2MSFTNGP15.phx.gbl...
How do I find out how many times a Web Form has been posted by one SINGLE
user within the SAME SESSION? For e.g. suppose a user named Nancy is
filling
out a Web Form. Due to some reasons or the other, she has to post the same
Form 4 times after which she winds up. She leaves i.e. her session expires
&
another user, say, Simon sits on the same machine to fill out the same
Form.
Citing this example, how do I find out how many times had Nancy (not
Simon)
posted the Form?

Thanks,
Arpan

Nov 19 '05 #4

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

Similar topics

8
by: AC | last post by:
I hope someone can tell me why this is not working. I have a form that dynamically creates the code below. This is for one product and there are about 10 to 50 products that are listed depending...
2
by: Steve | last post by:
A main form contains ten textboxes and ten subforms. All ten subforms have the same query (Query2) for their recordsource. Query2 is based on a query (Query1). Each subform is linked to a different...
11
by: Al | last post by:
Can anyone tell me if there's a way to return the amount of times a button is "clicked" I need to change text in a text box and that text changes each time the button is clicked-up to 6 times...
5
by: christianlott1 | last post by:
I admit my form is pretty complex and may need a total overhaul - I have two subforms synchronized on a form through an unbound text box. When I enter a new record in the second subform it used...
2
by: Alan Mailer | last post by:
Ok, I'm pretty new to VB.Net, so please bear with me. Imagine the Load event of one of my forms includes the following: Dim ctrl as Control Dim txtbox As TextBox For Each ctrl In Me.Controls...
16
by: Mike | last post by:
Hi, I have a form with some controls, and a different class that needs to modify some control properties at run time. Hoy can I reference the from so I have access to its controls and...
6
by: RandomElle | last post by:
Hi there I'm hoping someone can help me out with the use of the Eval function. I am using Access2003 under WinXP Pro. I can successfully use the Eval function and get it to call any function with...
5
by: andi | last post by:
Hello, I created a report in Acess2000 and now it repeats itself three times. At first I thought its a problem with the page margins but that would mean that empty or almost empty pages would...
3
by: Brian | last post by:
I need to be able to only allow my clients to enter data into a part of a form between specific hours of the day. i can find tons of articles on comparing dates, but not times. does anyone know...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...
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
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...
0
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...

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.