No. Of Times Form Posted

A

Arpan

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
 
J

Jeffrey Palermo [MCP]

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


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
 
A

Arpan

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 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


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
 
J

Jeffrey Palermo [MCP]

Happy Coding!

--
Best regards,
Jeffrey Palermo
Blog: http://dotnetjunkies.com/weblog/jpalermo


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 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


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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top