Using a session in plugin
-
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 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using a session in plugin’ is closed to new replies.