![]() |
| |||
| I'm attempting to setup load balancing between two windows servers running ASP. I'm using Apache and Mod Proxy because we are grafting some other applications on a different platform under the same URL. I'm attempting to load balance the ASP application across two web sites, but cant figure out the stickysession settings. The balancing works great, keeps going back and forth, but it wont stick once a session is established. I was attempting to use ASPSESSIONID but unlike JSESSIONID and some others, it seems to append a random number to the end, i.e. ASPSESSIONID93493 for each session. Any thoughts, or should i just use something besides ASPSESSIONID? My config is : <Proxy balancer://mycluster> BalancerMember http://1.1.2.179:80 (obviously not my real IPs) BalancerMember http://1.1.2.180:80 </Proxy> ProxyPass /test/ balancer://mycluster/test/ stickysession=Cookie:ASPSESSIONID nofailover=On |
| |||
| I gave up on that and just had IIS send back a unique cookie per server. Here are some good articles: http://www.howtoforge.com/load_balan...proxy_balancer http://www.markround.com/index.php?u...ml&serendipity[csuccess]=moderate#feedback http://macacochefe.blogspot.com/2007...nity-load.html On Oct 1, 11:07*am, Scooter <slbent...@gmail.com> wrote: > I'm attempting to setup load balancing between two windows servers > running ASP. I'm using Apache and Mod Proxy because we are grafting > some other applications on a different platform under the same URL. > I'm attempting to load balance the ASP application across two web > sites, but cant figure out the stickysession settings. The balancing > works great, keeps going back and forth, but it wont stick once a > session is established. I was attempting to use ASPSESSIONID but > unlike JSESSIONID and some others, it seems to append a random number > to the end, i.e. ASPSESSIONID93493 for each session. Any thoughts, or > should i just use something besides ASPSESSIONID? > > My config is : > <Proxy balancer://mycluster> > * * * * * *BalancerMemberhttp://1.1.2.179:80(obviously not myreal > IPs) > * * * * * *BalancerMemberhttp://1.1.2.180:80 > </Proxy> > > ProxyPass * * * /test/ * * * * * * * *balancer://mycluster/test/ > stickysession=Cookie:ASPSESSIONID nofailover=On |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |