logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Mod_balancer and Stickiness without Cookie
Author
ocrgeek



Joined: 05 Oct 2014
Posts: 3

PostPosted: Wed 15 Oct '14 17:06    Post subject: Mod_balancer and Stickiness without Cookie Reply with quote

Hi!

I have a short question concerning Mod Balancer and Stickiness:

At the moment I am achieving stickiness with a cookie.

Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED

However, I am getting complaints by users which do not allow coockies in their browser settings that my page does not work properly.

Is there any way to achieve Stickiness with out cookies (e.g. add the information to the URL or something like that)?

Thanks a lot!

Cheers,
Philipp
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 15 Oct '14 17:24    Post subject: Reply with quote

if you use a backend like PHP or Java you can use a different technic. See http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html#stickyness_implementation
Back to top


Reply to topic   Topic: Mod_balancer and Stickiness without Cookie View previous topic :: View next topic
Post new topic   Forum Index -> Apache