p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   Help - Synchronizing Page Loaded with Each Hit (http://p2p.wrox.com/showthread.php?t=66029)

kylex February 20th, 2008 01:42 AM

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.

urtrivedi February 20th, 2008 01:48 AM

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.

All times are GMT -4. The time now is 06:06 AM.

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