Link to home
Start Free TrialLog in
Avatar of rocketdoctor
rocketdoctor

asked on

Redirect a percentage of traffic coming to page based on session

I want to redirect 10% of traffic coming to a specific page to another site.  I want to make sure this happens on a session level basis only so if some one comes to the site and refresh the page this should not count as a second hit.    I am familiar with setting up applciation level variables to count and then redirect based on the value but how do I increment the count on a unique session base only
Avatar of justinbillig
justinbillig

you would have to use application_onstart / application_onend, you would then count each time a new person begins the application ( before the session is actually created ).

But I do believe you can set up your server to do the load balancing.
SOLUTION
Avatar of jawahar_prasad
jawahar_prasad

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial