0

Hi there,

Script to show on the web page that how many times user loaded it or refresh it. the counter restarted from 0 on closing the browser and open it again.

any help here will be appreciated.

Thanx

2
Contributors
10
Replies
12
Views
5 Years
Discussion Span
Last Post by stbuchok
0

Hi stbuchok,

I am looking for the script. I don't have this one. I search on the net but yet could not find any thing but to refresh pages automatically or manually but to just to count how many times it refresh and the counter shown some where on the page is my requirement.
If you can help me on this. for some good java programmer, i think its easy for him but may be until now, no one ask such thing.

Thanx

0

Try using cookies on page load.

http://www.w3schools.com/js/js_cookies.asp

I don't need cookies. What I need is that,

open a page and there is a text box showing the number 1, after each refresh/submit, this number will go +1 (2,3,4,5,6 ......) so that user know how many times he submit the form (the page is actually a form and on each submit, it redirects to the same webpage (form) so that user can submit the form again).

I hope this clears all.

0

So you want the user to know how many times they submitted the form, correct?

If so, again, use cookies.

0

So you want the user to know how many times they submitted the form, correct?

If so, again, use cookies.

No i dont wana know how many times thay submitted the form, the one submitting must know by seeing on the form itself, so that like after 20 or 30 submit he will stop. This is for the user only, for the one who is submitting the form

0

Yeah, that's what I said "So you want the USER to know how many times THEY submitted the form, correct?"

And yet again, USE COOKIES. Please, just read up on how to use cookies. Cookies can hold the information and it is a user by user basis stored on the client machine. Please, just read up on it.

0

Yeah, that's what I said "So you want the USER to know how many times THEY submitted the form, correct?"

And yet again, USE COOKIES. Please, just read up on how to use cookies. Cookies can hold the information and it is a user by user basis stored on the client machine. Please, just read up on it.

Ok i will read it up.

but I need that to be appear anywhere on the form page too. Will cookie stuff can do that too. Also I am not very good at these stuff.

0

Cookies are containers that you can store things about the client into them and retrieve from them. It is done on a per user basis so that the information pertain only to that user. Because you are able to retrieve the data, you are able to display it where ever your heart desires.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.