Support » Fixing WordPress » Session Files in Word Press

  • My previous post on this subject seems to have disappeared. I have literally thousands of session files in my blog that are not closed and are clogging up my site with excess pages. Do I need to add coding or what do I do to have these session files close?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Don’t use ampersands in your php file names like projects&tips.php.

    Also, why are you using DTD HTML 4.0 Transitional with WordPress? The WordPress themes that I’ve seen use DTD XHTML 1.0 Transitional. I don’t know if it’s a problem or not, but it is unusual.

    I forgot to mention it, but you should also validate your pages:

    http://validator.w3.org/

    Also, why are you using DTD HTML 4.0 Transitional with WordPress?

    I would assume that was part of the theme I am using. I don’t know enough to know whether I should change that but would it make a difference to session files not closing?

    Why would I need to validate each page?

    Thanks for responding.

    Some themes use HTML 4.0 Transitional, but WordPress likes to add code for XHTML in posts and pages, so I was wondering if this could be an issue in general. This would most likely not affect your session files problem, so I wouldn’t worry about it. The use of an ampersand in php files will cause major problems and may be the culprit in the sessions problem.

    Validating your code means checking it for errors in coding. Errors can cause all sorts of problems with web pages, although some errors like missing alt attributes are not a real problem. Your page has some easily fixable errors.

    http://codex.wordpress.org/Validating_a_Website

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Session Files in Word Press’ is closed to new replies.