Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 20th, 2008, 01:42 AM
Registered User
Join Date: Feb 2008
Location: , , Trinidad and Tobago.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help - Synchronizing Page Loaded with Each Hit

Hi all. I would like to have users view 3 different pages on my site depending on which order they access it (for research purposes). For example, user 1 accesses index2.html and sees page X, user 2 accesses index2.html after and sees page Y, user3 accesses index2.html after the two previous users and sees page Z, then the process is repeated. This is my preferred method of having an equal amount of visits to each type of page without any interference. Please assist, i've been unable to find any resources for this for some time now.

Old February 20th, 2008, 01:48 AM
Friend of Wrox
Join Date: Oct 2007
Location: , , .
Posts: 130
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via AIM to urtrivedi

You need to track the page visited,
For tracking pages create table with page list, one of the pages will remain active
When any page is visited at the end of the page update status of current page to inactive and make next page active(You need to fire a query at the end of each page.)Also whenever the link is clicked always show the page whose flag is active.


Help yourself by helping someone.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoint not hit - "No symbols loaded for page" organicglenn BOOK: ASP.NET Website Programming Problem-Design-Solution 15 August 1st, 2006 06:08 PM
check if page is loaded darkhalf Javascript 1 October 4th, 2005 05:26 AM
how to check if page is already loaded? phpworker Javascript How-To 0 July 31st, 2005 11:49 AM
adding content to an already loaded page adeptz Javascript 5 March 19th, 2004 06:53 AM
Page Hit Counter shmacgregor Classic ASP Basics 3 November 2nd, 2003 03:09 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.