I have windows 2008 R2 and IIS 7.5 with PHP 5.2.4.
I've tried to upgrade to PHP 5.3.3 and the same problem.
I'm using WORDPRESS or phpmyadmin that need to use session.
I've enabled and gave the folder write permissions.
When I'm trying to use the session its created but its forgotten...
For example, i've created this page:
Expand|Select|Wrap|Line Numbers
- <?php
- session_start();
- $_SESSION['i'] = isset($_SESSION['i']) ? $_SESSION['i'] + 1 : 1;
- echo $_SESSION['i'];
- ?>
The session is always re-created and not modified, its like the PHP forgot it...always create new ones..
What is the problem? It's make me crazy. I tried everything for more than 10 hours.
Thank you!