Title: Session Issues with Index.php
Last modified: August 19, 2016

---

# Session Issues with Index.php

 *  [miqqy](https://wordpress.org/support/users/miqqy/)
 * (@miqqy)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/)
 * Hey guys,
 * This has me pulling my hair out so I would appreciate any insights.
 * I have PHP sessions to manage my user base. It’s a custom login separate from
   WordPress. The user logs in, a unique id is generated and that along with the
   username is stored in the session.
 * Now every single page on my site can recognize the session variable, except for
   my index page. When I re-activate my theme, then the index page recognizes it,
   but when I logout, every page recognizes it’s gone, except the index page. Reactivate
   my theme, and all of a sudden it recognizes the session variables are empty as
   well.
 * I’m at my wit’s end, I have no idea how to proceed or how to fix this.
 * Please help.
 * Thanks.
 * This wasn’t an issue prior to WP 2.6

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jazztpt](https://wordpress.org/support/users/jazztpt/)
 * (@jazztpt)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/#post-831048)
 * Hi Miqqy,
 * It looks like you’ve succeeded in doing something I’m having trouble with. I 
   would like to use the session info from the rest of my site in my wordpress blog,
   but for some reason the session is being cleared on the wordpress pages. I posted
   in the forums, but I’ve noticed that none of the postings on session issues (
   if you search the forums using the word ‘session’) have been replied to. Let 
   me know if you have any advice for me,
    Thanks!
 *  [srdconsulting](https://wordpress.org/support/users/srdconsulting/)
 * (@srdconsulting)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/#post-831051)
 * Frank provides a simple solution this problem on his blog: [Session Fix](http://www.frank-verhoeven.com/using-session-in-wordpress/)
 * Before I found his post, I was banging my head against the wall for 2 days as
   I tried to find a solution.
 *  [srdconsulting](https://wordpress.org/support/users/srdconsulting/)
 * (@srdconsulting)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/#post-831052)
 *  [srdconsulting](https://wordpress.org/support/users/srdconsulting/)
 * (@srdconsulting)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/#post-831053)

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Session Issues with Index.php’ is closed to new replies.

## Tags

 * [index-page](https://wordpress.org/support/topic-tag/index-page/)
 * [login](https://wordpress.org/support/topic-tag/login/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [srdconsulting](https://wordpress.org/support/users/srdconsulting/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/session-issues-with-indexphp/#post-831053)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
