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

tryiong to count number of times a page loads.

Hi
I am trying to count the number of times a page loads. When I hit the submit
button I can get the page to count once using ispostback to check . I am
trying to incriment a variable everytime the page loads. It will only do it
one time even if I put the
variable = variable + 1
statement into the button click event.

Any ideas as to how to count the number of times a page loads?
Thanks
Mark
Nov 21 '05 #1
1 1477
Are you saving the value of variable when you make the round-trip? If you
just do Dim Variable as Integer, the value it set back to 0 each time the
page loads. Try saving it to a hidden text box. There are better ways to
do it, but I'm not familiar with them since I don't do much ASP.

Chris
"mark" <no***@bidness.com> wrote in message
news:uA**************@TK2MSFTNGP09.phx.gbl...
Hi
I am trying to count the number of times a page loads. When I hit the
submit button I can get the page to count once using ispostback to check .
I am trying to incriment a variable everytime the page loads. It will only
do it one time even if I put the
variable = variable + 1
statement into the button click event.

Any ideas as to how to count the number of times a page loads?
Thanks
Mark

Nov 21 '05 #2

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

Similar topics

2
by: Paxton | last post by:
Hi, I'm trying to display the total page views per page within a given date range, but the correct SQL is seemingly beyond me. I get the correct result with a straightforward Group By and Count...
5
by: Cro | last post by:
Hello Access Developers, I'd like to know if it is possible to perform a count in an expression that defines a control source. My report is based on a query. In my report, I want a text box to...
1
by: sunilkeswani | last post by:
Hi I am still new to access. I want to know how i can build a query which can display results from 4 different columns/fields Like. Field1 Field2 Field3 Field4 1 2 1 ...
68
by: Martin Joergensen | last post by:
Hi, I have some files which has the following content: 0 0 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 0 0 0 0 0
1
by: jmarr02s | last post by:
I used the following query supplied by Jorn, SELECT IIf(=15 Or =19, "15 og 19",IIf(=13 Or =17,"13 og 17",IIf(=16 Or =20,"16 og 20",IIf(=14 Or =18,"14 og 18",IIf(=9, "9",...
13
by: humaid | last post by:
hi,guys i have done a program to count the number of bigrams. i have taken a input file by using @ARGV,then icounted the number of lines in the file,using the split function i splited the sentence...
3
by: csgraham74 | last post by:
Hi Guys, I was wondering if soemone could help me. Im trying to write a piece of code that queries a field in ms access for a keyword. what i want to do is count the number of times the...
14
by: zufie | last post by:
I have to create a QA report regarding callers calling into a phone hotline. The report consists of many checkboxes such as: Did the IBCCP agency contact you? Yes/NO How many days passed...
1
by: claudfs | last post by:
Hey Guys, Ok here is my problem: There is around 350 rows in the db. All the variables $actor_id, $comment_id and $likes_id are all uid's for facebook users Now i want to group and sum...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.