Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Guido on "Using a session in plugin"

$
0
0

Hi,

I have a contactform plugin containing a file with plugin funcions and in that file I use function 'include' to include a second file with the contents of the form.

That second form starts with a 'session_start' because of a certain function I use in frontend. In frontend a session is start when user visits the contactform page. The session is destroyed again after form is succesfully send.

My question:
Because lately I'm having some pageload problems in backend I'm wondering whether the session can cause this or not? I think so, because when I remove it from the second file, pageload is ok again.
How to solve this?

Guido


Viewing all articles
Browse latest Browse all 8245

Trending Articles