V
V
vvvadimos2016-01-19 13:31:32
PHP
vvvadimos, 2016-01-19 13:31:32

How to solve the problem with deleting sessions on a Wordpress site?

Host support wrote that they have a million sessions in the directory, i.e. a fig they are not deleted (still suggested to store sessions in a DB). Website on wordpress. There are no plugins like authorization through social networks, baskets, there is nothing like that, i.e. I don’t think that the plugins broke something, although it’s not a fact of course. I’m not particularly friendly with PHP, so I don’t know where to even dig, tell me what to look for in this case

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2016-01-20
@vvvadimos

In my opinion, tech support wants to shift their problem to you.
The problem with not deleting sessions may arise due to hosting settings.
Try to make them a counter offer? Create a ticket with a request to correctly configure the sessions on the server?
Maybe session.gc_probability and session.gc_divisor are set incorrectly in php.ini or something.
If they object, try hinting to them that WordPress does not use sessions. Session support in WP can be enabled using plugins, but they are not used by default.
If everything is done standardly for you, WP does not use sessions and the problem is definitely not on your side.

O
Oleg Voitenko, 2014-08-02
@OliverV

1. if you need two printers to print the same thing when you click on Print, you need to write software. Yes, the idea seems a little pointless to me.
2. If you just need the ability to select a printer for printing, then everything is simple:
put two devices, connect, install.
.after pressing ctrl+p, it simply selects the desired printer from the list, they will both be there, plus all sorts of one-notes, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question