[wp-hackers] Question about WP on load balanced cluster

Potkanski, Jason jpotkanski at tribune.com
Thu Jan 27 20:05:36 UTC 2011

Just to add...

I've seen many a plugin developer try and slip sessions into their code. Make sure to grep your codebase for "session_start" or any other such silliness.

That said, if you do end up in that trap, some load balancers allow for "stickiness." The solutions get more complex from there, and since you guys are using IIS (why oh why), none of it would apply.

Jason Potkanski
Release Lead, Application Developer
Tribune Technology, Back-End Support

On 27 Jan 2011, at 10:48, Adam Rifat wrote:

> We are currently installing WP for use on our site. We have two web servers running IIS with a load balancer. At the moment we are just installing onto one server with the db on a separate server. I have searched but cannot find any definitive advice on how to go about configuring WP across two servers like this. The obvious problem is sessions and maintaining sessions between two separate servers. Is this an issue with WP and if so how can I resolve it? Is there a plugin or some other solution?

WordPress don't using sessions so you don't need to maintain them between servers.

Running with a single database server and two web servers should be simple to setup - just using the same wp-config.php file on both.

Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5

wp-hackers mailing list
wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list