Welcome Guest, Not a member yet? Register   Sign In
Session creates new session id on every page load
#37

[eluser]stirado[/eluser]
Same here. I tried everything suggested on this thread but the problem remains.

I'm running Codeigniter Reactor 2.0.2 (also tried with latest Core version) on a Wampserver 2.1a on top of Windows Vista and my application works flawlessly. When I move it to a LAMP Ubuntu Server 11.04 and watch the member_session table (see configuration below) I see that each time I load a page two new rows appear with a different session_id

Code:
$config['base_url']    = 'http://intranet.example.com';

$config['sess_cookie_name'] = 'intranet';
$config['sess_expiration'] = 7200;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'member_sessions';
$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 300;

$config['cookie_prefix'] = "";
$config['cookie_domain'] = ".example.com";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;

As I said, I already tried everything suggested on this thread and other threads as well.

One of the comments suggests that the problem could be with the Apache configuration. I'm using the default, I just added the ServerName directive

Code:
<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        ServerName example.com

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>

        ErrorLog /var/log/apache2/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/access.log combined

</VirtualHost>

Someone suggested this problem should be solved in two minutes. I've been stuck for several days. I'm willing to pay to have this solved. Someone willing to help?


Messages In This Thread
Session creates new session id on every page load - by El Forum - 07-17-2010, 01:32 PM
Session creates new session id on every page load - by El Forum - 07-18-2010, 12:55 AM
Session creates new session id on every page load - by El Forum - 07-18-2010, 11:58 AM
Session creates new session id on every page load - by El Forum - 07-18-2010, 12:23 PM
Session creates new session id on every page load - by El Forum - 07-18-2010, 12:25 PM
Session creates new session id on every page load - by El Forum - 07-18-2010, 12:51 PM
Session creates new session id on every page load - by El Forum - 07-18-2010, 03:18 PM
Session creates new session id on every page load - by El Forum - 07-18-2010, 03:23 PM
Session creates new session id on every page load - by El Forum - 07-25-2010, 07:20 PM
Session creates new session id on every page load - by El Forum - 07-25-2010, 08:18 PM
Session creates new session id on every page load - by El Forum - 07-25-2010, 08:53 PM
Session creates new session id on every page load - by El Forum - 07-25-2010, 09:31 PM
Session creates new session id on every page load - by El Forum - 07-26-2010, 05:51 AM
Session creates new session id on every page load - by El Forum - 07-26-2010, 12:22 PM
Session creates new session id on every page load - by El Forum - 07-27-2010, 08:54 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 09:09 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 09:16 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 09:26 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 09:54 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 10:35 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 11:08 AM
Session creates new session id on every page load - by El Forum - 07-27-2010, 02:43 PM
Session creates new session id on every page load - by El Forum - 07-27-2010, 02:47 PM
Session creates new session id on every page load - by El Forum - 07-28-2010, 04:57 PM
Session creates new session id on every page load - by El Forum - 07-28-2010, 05:01 PM
Session creates new session id on every page load - by El Forum - 07-29-2010, 12:41 AM
Session creates new session id on every page load - by El Forum - 10-13-2010, 04:19 PM
Session creates new session id on every page load - by El Forum - 10-13-2010, 04:37 PM
Session creates new session id on every page load - by El Forum - 10-14-2010, 12:35 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 02:30 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 02:40 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 06:41 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 07:22 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 07:45 AM
Session creates new session id on every page load - by El Forum - 10-14-2010, 08:05 AM
Session creates new session id on every page load - by El Forum - 05-26-2011, 05:51 PM
Session creates new session id on every page load - by El Forum - 08-09-2011, 11:37 AM
Session creates new session id on every page load - by El Forum - 08-11-2011, 06:40 PM
Session creates new session id on every page load - by El Forum - 08-13-2011, 08:08 PM
Session creates new session id on every page load - by El Forum - 08-15-2011, 03:02 AM
Session creates new session id on every page load - by El Forum - 02-03-2012, 12:21 PM
Session creates new session id on every page load - by El Forum - 02-03-2012, 05:32 PM
Session creates new session id on every page load - by El Forum - 02-03-2012, 05:40 PM
Session creates new session id on every page load - by El Forum - 02-16-2012, 01:47 PM
Session creates new session id on every page load - by El Forum - 02-24-2012, 10:32 AM
Session creates new session id on every page load - by El Forum - 03-16-2012, 06:57 AM
Session creates new session id on every page load - by El Forum - 04-11-2012, 02:49 PM
Session creates new session id on every page load - by El Forum - 06-05-2012, 04:45 PM
Session creates new session id on every page load - by El Forum - 06-05-2012, 05:14 PM
Session creates new session id on every page load - by El Forum - 06-05-2012, 07:31 PM
Session creates new session id on every page load - by El Forum - 06-06-2012, 11:26 AM
Session creates new session id on every page load - by El Forum - 06-06-2012, 11:38 AM
Session creates new session id on every page load - by El Forum - 06-06-2012, 11:48 AM
Session creates new session id on every page load - by El Forum - 06-10-2012, 11:43 AM
Session creates new session id on every page load - by El Forum - 06-22-2012, 01:26 AM
Session creates new session id on every page load - by El Forum - 06-22-2012, 02:00 AM
Session creates new session id on every page load - by El Forum - 06-22-2012, 03:58 AM
Session creates new session id on every page load - by El Forum - 07-06-2012, 10:30 AM
Session creates new session id on every page load - by El Forum - 10-19-2012, 12:23 PM
Session creates new session id on every page load - by El Forum - 11-23-2012, 05:01 AM
Session creates new session id on every page load - by El Forum - 04-03-2013, 02:30 PM
Session creates new session id on every page load - by El Forum - 04-04-2013, 01:36 PM
Session creates new session id on every page load - by El Forum - 04-22-2013, 11:16 AM
Session creates new session id on every page load - by El Forum - 04-22-2013, 12:40 PM
Session creates new session id on every page load - by El Forum - 04-22-2013, 01:52 PM
Session creates new session id on every page load - by El Forum - 04-23-2013, 05:25 AM
Session creates new session id on every page load - by El Forum - 08-21-2013, 11:20 AM
Session creates new session id on every page load - by El Forum - 08-22-2013, 12:05 AM
Session creates new session id on every page load - by El Forum - 08-25-2013, 03:40 AM
Session creates new session id on every page load - by El Forum - 12-18-2013, 07:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB