//flex table opened by JP

Click to See Complete Forum and Search --> : go back, and back, and back


mrhutch
12-07-2001, 06:44 AM
come on guys - help me out :D :D
I would Like to create a count of how many times a page has been refreshed for a user in that particular session. I have been told that I may be able to do this in a Session variable but I not sure how. If I can get the count to work I would like to do the following.

I have a page that Inserts records in to a table then refreshes showing the
newly entered record. I have a back button on the page that calls
"onclick=history.go(-1)" which after 2 inserts would show the page as it was after the
first insert.

Once I have created the session variable I will do a "onclick=history.go-(session
variable)" which should take me to the original calling page.

Mr Hutch

qball
12-07-2001, 06:04 PM
ok,


I would Like to create a count of how many times a page has been refreshed for a user in that particular session.


What mechanism is 'session'? ASP?

'Session' implies server side sumtin and the 'session' will contain variable named 'timeRefreshed' or 'i'.

Now, when a user creates a session, i=0 or i=-1 iffin you don't wanna count first time page is displayed for a given user.

Next, everytime a user goes to given page, check value of i and do what you wish, then increment i for their session.