Hosting

This topic contains 35 replies, has 10 voices, and was last updated by  directory 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #4086

    Paolo
    Site Admin
    Post count: 31206

    yes, correct

    #4258

    stroudsco
    Expired Member
    Post count: 121

    I also have used Wpengine for all my sites for 4 years nearly.

    I don’t use the switcher so am I correct in saying I’m fine?

    The site is live http://www.floorinsite.com.

    Cheers

    #4260

    Paolo
    Site Admin
    Post count: 31206

    Yes @stroudsco,

    not using location switcher or geolocation, you don’t need sessions.

    Thanks

    #4325

    Greg Mount
    Free User
    Post count: 82

    For those looking for more background, here’s a support article from WP Engine that explains the issues with php sessions, cookies and caching:

    http://wpengine.com/support/cookies-and-php-sessions/

    <caching-lesson>In a nutshell, php sessions (e.g. $_SESSION or session_start()) store temporary data about a specific visitor (e.g. location). Varnish cache, the most common front-end caching solution for high-volume hosts like WP Engine, stores static copies of pages to serve subsequent visitors without having to hit the database again. This kills session data since the second visitor to the same page will be served a cached copy of the page and never set or read the session data that makes it unique to the visitor. The only way to use php session data with Varnish is to selectively bypass caching on those pages that use the session data.</caching-lesson>

    That said, WP Engine has a pretty good reputation for support, so I decided to push the point. It turns out that they will disable caching on any page you wish, all you need to do is submit a support ticket. I’ll assume this includes wildcards.

    To that end, it would be really helpful to have a list of URLs that require session data. I know this is relative to the install and configuration, but if we had a starter list or at least some indication of how the session data is used, then we could pass this on to support folks.

    Why? The benefits of managed hosting are huge for some (my firm hosts some clients on our own servers and others on managed services like Pantheon, Media Temple and WP Engine). Also, I don’t want to bypass the incredible performance benefits of varnish on an entire site just because one plugin chose to use php (instead of javascript) to store session info. I think it’s totally possible to host this plugin on a managed service with aggressive caching enabled, as long as we can isolate those pages that need to bypass the cache. Can we (I’m looking at you, Paolo) help make this happen?

    #4345

    directory
    Expired Member
    Post count: 1502

    Hi Greg,

    Thanks for sharing the info. That’s what my host is doing. He configures Varnish to work on GeoTheme and GeoDirectory pages that need and doesn’t need caching.

    It’s also a managed WP hosting provider.

    #4347

    Paolo
    Site Admin
    Post count: 31206

    Hi Greg,

    when most of our GeoTheme customers asked them why WPEngine didn’t manage php sessions they were saying for security reasons, please use cookies instead. Which is non-sense.

    Now they are saying Varnish can’t handle sessions.

    THAT’S not true. The way they setup Varnish doesn’t handle sessions.

    http://systemsarchitect.net/reading-php-session-from-varnish-cache/

    I don’t understand why we should make our application worst, in order to make it work with 1 Hosting provider, that from what I read around, isn’t that exceptional after all…

    http://wptavern.com/wp-engine-addresses-critics-following-damaging-expose-of-its-customer-support
    http://chester.id.au/2012/10/24/my-experience-with-wpengine/
    http://www.wpenginelostmysite.com/
    http://www.matthewwoodward.co.uk/reviews/webhost-trusted-wp-engine-hijacked-business-avoid-them/
    http://auditwp.com/wp-engine-seo-failboat/

    Thanks

    #4356

    Greg Mount
    Free User
    Post count: 82

    Thanks for the feedback, Paolo. First off, I didn’t write that WPEngine told me that “Varnish can’t handle sessions,” so careful with the attribution. They may very well have implemented (or plan to implement) memcached-based session storage. I don’t know enough yet about their configuration to say.

    I’m sure the goal at WPEngine is to enable as many customers as possible to host their wp sites. I’m also sure that the goal for GeoDirectory is to get as many customers using this plugin and associated premium products as possible. My goal is to get sites built and hosted where they will work optimally to client expectations.

    With that in mind, it’s in everyone’s best interest to collaborate on solutions. Your firm will likely make sell more product if you help clients find ways to make them work on any hosting platform. If you prefer to simply list links to articles that talk about why a certain platform sucks, well, I guess that’s another approach. 🙂

    Anyway, I love GeoDirectory and I’m having a good ride so far with WPEngine. I’ll try to get them to play nice together and will share the results with others. If WPEngine doesn’t work out, I’ll move to one of the other 4 hosting platforms we use, including our own in-house hosting. In the end, I think it’s worth it for the knowledge gained.

    #4362

    Paolo
    Site Admin
    Post count: 31206

    Hi Greg,

    we wish GeoDirectory and GeoTheme could work 100% well with any hosting provider, that’s a fact, however it is very improbable due to the number of possible variable in server’s configurations.

    WPEngine decided, for extreme caching purposes, to limit their offer. PHP session and cookies are not supported and they clearly say it here.

    http://wpengine.com/support/cookies-and-php-sessions/

    Before they told many GeoTheme customers, that it was for security reasons, now they say that due to the cache, PHP isn’t excecuted and any PHP code that looks for cookies or handles session variables will not work, simply because it is not running.

    Unfortunately they don’t say it could be done, they prefer not to. Reason why I keep saying that WPEngine isn’t for applications, but for blogs and fairly static websites like Business Websites and Portfolios.

    WordPress core doesn’t use Sessions, reason why I think WPEngine choose not to, but WordPress alone is a blogging platform. Even an ecommerce site wouldn’t work, because cart are handled with sessions cookies.

    What do they suggest: To disable cache for all ecommerce pages!

    Sections of the site, such as product pages, the cart, and the checkout page, need to be un-cached for all visitors.

    Why would one want to pay $99 to host an ecommerce site if he can’t take advantage of cache and fast loading time? Which is what’s cool about them…

    Same goes for GeoDirectory.

    That said, I’ll talk to Stiofan and Vikas about this and check with them if we can find a viable alternative in order to make GD work with them too, but I really think it is almost impossible.

    Thanks

    #4363

    Paolo
    Site Admin
    Post count: 31206

    Oh, just to make things clear. Personally, I have nothing against WPEngine.

    I simply think it is over hyped and not such a fantastic service, for the reasons I’ve mentioned and especially for thier price.

    The links where just to confirm that I’m not the only crazy out there saying that their service doesn’t shine as much as their reputation would make you imagine.

    #5095

    kcmarine
    Buyer
    Post count: 36
    This reply has been marked as private.
    #5102

    Paolo
    Site Admin
    Post count: 31206

    https://account.servermanaged.it

    Unfortunately the website is in Italian only.

    Of course they are proficient in english and can provide all answer in english.

    I think you can use googletranslate to workaround this problem. I suggested him to do an english version too.

    Thx

    #7098

    pix3x
    Expired Member
    Post count: 155

    Hi, guys, not sure what is wrong with WPEngine but location switcher on my site remembers the city user selected and keep it while browsing the site. Not quite sure if the share location works or not properly though. Can anyone share his experience with combining location switcher/share location with the WPEngine?

    #7128

    pix3x
    Expired Member
    Post count: 155

    Hmm, looks like the location is not remembered in safari/ios.

    #7243

    Paolo
    Site Admin
    Post count: 31206

    Hi pix3x,

    the answer to your question is i previous replies to this post, here they are summed up: https://wpgeodirectory.com/support/topic/hosting/page/2/#post-4362

    WPEngine doesn’t handle PHP sessions. You should ask them to uncache all GD pages of your website for it to work correctly…

    Thx

    #7355

    pix3x
    Expired Member
    Post count: 155

    Hi, thanks for advice. I’d rather not change the hosting but it depends if WPEngine get it working. Could you help me with:
    – a list of GD pages to pass to the host; are they all php files that are located in the plugin/add-ons folders?
    – recommended WP manage host with servers in Europe and secured and fast as WPEngine?

Viewing 15 posts - 16 through 30 (of 36 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount