Re: My $_SESSION['''] variables are expiring!
| From: | Ron Piggott | Date: | Sat, 29 Oct 2005 14:20:57 +0000 |
| Subject: | Re: My $_SESSION['''] variables are expiring! | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40564@lists.php.net to get a copy of this message | ||
I will ask them to check the php.ini file.
The session variables are working ... as in I have been in my account
and made changes (such as updated my address) so I know the computer is
keeping my $_SESSION['account_reference'] until *something* happens and
it it expires. Then account_reference goes from my reference number to
0 because it has become unassigned.
Ron
You need to have them check the php.ini file. This holds all the info
about
the installation. If It might be that the browser is not accepting the
session cookies, which is a possibility. The options then are to:
1. store the session id in the URL
2. place the session id in a hidden field
3. try placing it in a regular cookie.
You may want to check your browser setting to ensure that the browser
accepts cookies from your site
Bastien
On Fri, 2005-28-10 at 20:59 -0400, Ron Piggott wrote:
> My $_SESSION['variable'] 's are expiring. How do I find what my web
> site hosting company has their length set to so I may have them
> adjusted?
>
> They just expired while I was actively using the associated scripts.
> Once the web site hosting computer lost track of the user session number
> generated when I logged in the script couldn't access my settings!
>
> Ron
--
ron.piggott@actsministries.org
www.actsministrieschristianevangelism.org
Acts Ministries Christian Evangelism
"Where People Matter"
12 Burton Street
Belleville, Ontario, Canada
K8P 1E6
In Belleville Phone: (613) 967-0032
In North America Call Toll Free: (866) ACTS-MIN