It is advisable to write the cookie in full details:

// at the top of each page:
session_start() ;
setcookie( session_name(), session_id(), time()+3600, "/" ) ;
ob_start() ;
// etc

Ignatius
____________________________________________
----- Original Message -----
From: "Olav Bringedal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 13, 2003 9:07 AM
Subject: [PHP-WIN] sessions expire for dial up users and old browers


> I have a problem with sessions. Or maybe two, i don't know. Im pretty sure
the
> code is ok so I'll not enclose that for now.
>
> The problem is following:
>
> When a dial up user logs into my page they often loose the cookie to the
> session (or dont get a cookie at all).
>
> This also happens for users with old browsers. I have recreated the
problem
> with a win 3.1 version of I explore 3.01, but im not scared about that.
>
> From >IE 4.0 and >opera 3.1 everything seems to work fine for users with a
> steady connection.
>
> Do anyone have any tips on where i should start tracking this? Or better a
> solition? :)
>
> configuration:
> Apache/1.3.23 (Win32) PHP/4.2.3
>
> PHP :
> [Session]
>
> session.save_handler = files
> session.use_cookies = 1
> session.name = PHPSESSID
> session.auto_start = 0
> session.cookie_lifetime = 7200
> session.cookie_path = /
> session.cookie_domain =
> session.serialize_handler = php
> session.gc_probability = 1
> session.gc_maxlifetime = 7200
> session.referer_check =
> session.entropy_length = 0
> session.entropy_file =
> session.cache_limiter = nocache
> session.cache_expire = 180
> session.use_trans_sid = 1
>
> APACHE:
>
> Timeout 30
> KeepAlive On
> MaxKeepAliveRequests 30
> KeepAliveTimeout 15
> MaxRequestsPerChild 0
> MaxClients 30
> ThreadsPerChild 30
>
>
>
>
> =====
> --
>
> Olav Bringedal
> jaggu.org
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to