Generate Cache based on Session variable

[ad_1]

Hi,

I need a session variable that sets the tax rate of the website visitors and thus also changes the output of the website.
So I need to generate and output the cache based on the value the user has in this session variable.

For example every page is cached 12 times for the different values of the session variable “DE”, “US”, “GB”, etc.. when a user has the value “DE” in the session variable the DE version should be displayed and so on.

Is this possible?

I am able to avoid the cache by using get parameters for the tax rate but I don’t want to use this approach, it should not happen depending on get parameters.

Thank you in advance for your response.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer