Hi List,
Hi have the following (below) session code at the top of each page.. The
'print_r' (development feature only) confirms that on one particular page I
do log out as the session var = (). but, on testing that page via the URL I
still get to see the page and all its contents - session
On Aug 12, 2013, at 4:27 AM, Clifford Shuker clifford.shu...@ntlworld.com
wrote:
Hi have the following (below) session code at the top of each page.. The
'print_r' (development feature only) confirms that on one particular page I
do log out as the session var = (). but, on testing that page
On Tue, Jan 17, 2012 at 5:17 PM, Haluk Karamete halukkaram...@gmail.com wrote:
This brings the question to the following;
WHEN DOES THE SERVER KNOW THAT A USER IS REALLY GONE OR HE CLOSED HIS BROWSER?
Just addressing this quesiton -- you are correct that the browser does
not tell the
On 17 Jan 2012, at 23:17, Haluk Karamete wrote:
Back to this session expiration...
that old quote said...
begin
The default behaviour for sessions is to keep a session open
indefinitely and only to expire a session when the browser is closed.
This behaviour can be changed in the php.ini
-Original Message-
From: Stuart Dallas [mailto:stu...@3ft9.com]
Sent: 18 January 2012 12:02
On 17 Jan 2012, at 23:17, Haluk Karamete wrote:
I'm afraid session.cookie_lifetime = 0 keeps all session data (
that
is past and present ) in server memory until a server restart/stop
too.
I read the following about PHP sessions... I wanted to know how
accurate this info is.
quote
The default behaviour for sessions is to keep a session open
indefinitely and only to expire a session when the browser is closed.
This behaviour can be changed in the php.ini file by altering
.
I read the following about PHP sessions... I wanted to know how
accurate this info is.
quote
The default behaviour for sessions is to keep a session open
indefinitely and only to expire a session when the browser is closed.
This behaviour can be changed in the php.ini file by altering the
line
, most likely, I would keep that style in my
PHP apps too.
I read the following about PHP sessions... I wanted to know how
accurate this info is.
quote
The default behaviour for sessions is to keep a session open
indefinitely and only to expire a session when the browser is closed
PHP sessions... I wanted to know how
accurate this info is.
quote
The default behaviour for sessions is to keep a session open
indefinitely and only to expire a session when the browser is closed.
This behaviour can be changed in the php.ini file by altering the
line
On 17 Jan 2012, at 02:21, Haluk Karamete wrote:
Well Stuart,
When I said this
In ASP, I create a virtual app at the IIS server - assigning a virtual
dir path to the app, and from that point on, any page being served
under that virtual path is treated as an isolated ASP app and thus the
great exp. now I'm heading towards the
http://www.php.net/manual/en/session.configuration.php#ini.session.cookie_path.
you definitely deserved a good chocolate cookie!
On Mon, Jan 16, 2012 at 6:38 PM, Stuart Dallas stu...@3ft9.com wrote:
On 17 Jan 2012, at 02:21, Haluk Karamete wrote:
Well
I'm having trouble with a PHP website which requires users to be logged
in to access all content other than the home page and a couple of static
pages (about us, contact us etc.). Several users have said they are
being logged out every few minutes whilst using the site - they can
login but
On 09/07/2011 03:50 PM, Paul Waring wrote:
I'm having trouble with a PHP website which requires users to be logged
in to access all content other than the home page and a couple of static
pages (about us, contact us etc.). Several users have said they are
being logged out every few minutes
On 07/09/11 11:47, Nilesh Govindarajan wrote:
On 09/07/2011 03:50 PM, Paul Waring wrote:
I'm having trouble with a PHP website which requires users to be logged
in to access all content other than the home page and a couple of static
pages (about us, contact us etc.). Several users have said
On 7 September 2011 11:20, Paul Waring p...@phpdeveloper.org.uk wrote:
I'm having trouble with a PHP website which requires users to be logged in
to access all content other than the home page and a couple of static pages
(about us, contact us etc.). Several users have said they are being
On 7 September 2011 11:20, Paul Waring p...@phpdeveloper.org.uk wrote:
Can anyone suggest things which I could try? I cannot work out why this
problem is happening for some users but not me.
For browsers/extensions that do automatic read ahead (I load page A
and linked pages B and C are also
Just confirm once that you are not calling session_destroy somewhere.
Thanks,
Vikash Kumar
--
http://vika.sh
On 7 September 2011 16:46, Richard Quadling rquadl...@gmail.com wrote:
On 7 September 2011 11:20, Paul Waring p...@phpdeveloper.org.uk wrote:
Can anyone suggest things which I could
On 07/09/11 12:15, Richard Quadling wrote:
How do you handle multiple logins?
If I login using my laptop and get Session A for my account and then I
login using my desktop and get Session B for my account, does Session
A get killed?
Session A is killed, your last login is always the current
On 07/09/11 12:20, vikash.i...@gmail.com wrote:
Just confirm once that you are not calling session_destroy somewhere.
The only place session_destroy is called is in the logout function,
which itself is only called if a user clicks the logout link.
--
Paul Waring
On 07/09/11 12:16, Richard Quadling wrote:
On 7 September 2011 11:20, Paul Waringp...@phpdeveloper.org.uk wrote:
Can anyone suggest things which I could try? I cannot work out why this
problem is happening for some users but not me.
For browsers/extensions that do automatic read ahead (I
On 07/09/11 13:42, Richard Quadling wrote:
On 7 September 2011 12:32, Paul Waringp...@phpdeveloper.org.uk wrote:
On 07/09/11 12:16, Richard Quadling wrote:
On 7 September 2011 11:20, Paul Waringp...@phpdeveloper.org.ukwrote:
Can anyone suggest things which I could try? I cannot work
Dear List -
Thank you for your help in the past. This an update on my session
problems.
Here is a simple test program. It never increments the session counter;
ie, does not detect that $_SESSION has been set.
?php session_start(); ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
Dear List -
Thank you for your help in the past. This an update on my session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect that $_SESSION has been set.
?php session_start(); ?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0
On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote:
Dear List -
Thank you for your help in the past. This an update on my session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect that $_SESSION has been set.
?php
At 07:28 PM 3/30/2011, Ashley Sheridan wrote:
On Wed, 2011-03-30 at 19:20 -0400, Ethan Rosenberg wrote:
Dear List -
Thank you for your help in the past. This an update on my
session problems.
Here is a simple test program. It never increments the session
counter; ie, does not detect
I'm having trouble with a PHP site whereby some users are being logged
out on a regular basis. This will usually happen after they have been
using the site for a few minutes, they can login without any problems
and access a few pages, but then suddenly they will request a page and
be sent to
Inc session.cache_expire. You have only 3 minutes.
This means browser will drop cookie containing session id in three
minutes, or even less, of clients inactivity.
I prefer to set expire-time to zero. So, browser will never forget session id.
In other case, if security requires, i usually set it
On 04/11/10 14:56, Alexander Holodny wrote:
Inc session.cache_expire. You have only 3 minutes.
This means browser will drop cookie containing session id in three
minutes, or even less, of clients inactivity.
According to the PHP manual:
session.cache_expire specifies time-to-live for cached
I have a strange issue here. I am running a CentOS machine, with
apache 2.2.3
php 5.1.6
kernel 2.6.18-194.8.1.el5xen
My sessions will work using https, but not using simple http. I've
compared my configs with another identical machine which works with
both, and I can't figure out why.
On Mon, Oct 18, 2010 at 8:46 PM, Daniel Houle drho...@hotmail.com wrote:
I have a strange issue here. I am running a CentOS machine, with
apache 2.2.3
php 5.1.6
kernel 2.6.18-194.8.1.el5xen
My sessions will work using https, but not using simple http. I've compared
my configs with
On 10/19/2010 09:41 AM, Andrew Ballard wrote:
On Mon, Oct 18, 2010 at 8:46 PM, Daniel Houledrho...@hotmail.com wrote:
I have a strange issue here. I am running a CentOS machine, with
apache 2.2.3
php 5.1.6
kernel 2.6.18-194.8.1.el5xen
My sessions will work using https, but not using simple
Hi,
I'm just wondering whether there are any apparent security concerns I should
be aware of when using sessions in my PHP scripts. I understand that
sessions are tracked with an individual user via a session ID which is
stored in a temporary location on the server, as well as a PHPSESSID cookie
On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote:
Hi,
I'm just wondering whether there are any apparent security concerns I should
be aware of when using sessions in my PHP scripts. I understand that
sessions are tracked with an individual user via a session ID which is
stored in a
Ashley Sheridan wrote:
On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote:
Hi,
I'm just wondering whether there are any apparent security concerns I should
be aware of when using sessions in my PHP scripts. I understand that
sessions are tracked with an individual user via a session ID
On Fri, 2010-03-12 at 21:33 -0500, Martine Osias wrote:
The sessions variables are OK. They don't print when I put them on the HTML
page with this code.
tr
td align=left?=laquo;.$_SESSION['scripture_text'].raquo;?/td
/tr
tr
td style=font-size: smaller;
: Saturday, March 13, 2010, 4:33:34 AM
Subject: [PHP] Re: PHP Sessions
The sessions variables are OK. They don't print when I put them on the HTML
page with this code.
tr
td align=left?=laquo;.$_SESSION['scripture_text'].raquo;?/td
/tr
tr
td style=font-size: smaller;
align=right?=$_SESSION
...@gmail.com
To: php-general@lists.php.net php-general@lists.php.net
Date: Saturday, March 13, 2010, 4:33:34 AM
Subject: [PHP] Re: PHP Sessions
The sessions variables are OK. They don't print when I put them on the HTML
page with this code.
tr
td align=left?=laquo;.$_SESSION
an...@oire.org
Date: Saturday, March 13, 2010, 12:33:46 PM
Subject: [PHP] Re: PHP Sessions
On Sat, 2010-03-13 at 12:22 +0200, Andre Polykanine wrote:
Hello Martine,
As you have been already told, the ?=...? is not always supported.
However I'd suggest you to do the following (since I love this form
On Sat, 2010-03-13 at 12:49 +0200, Andre Polykanine wrote:
Hello Ashley,
And if the site is full of that code?)) I think it's worth to learn
what's really the reason of the fact that it doesn't work. Besides
that, it's more readable for me.
And the right thing that was said here is the
Hi:
I need to store variables to send then between pages. I don't need the
variables in a database so I try to send them with sessions. The variables
don't seem to be there when I try to get them. What could be the problem.
Here are the pages where I store and retrieve the variables.
Page 1
On Fri, 2010-03-12 at 19:29 -0500, Martine Osias wrote:
Hi:
I need to store variables to send then between pages. I don't need the
variables in a database so I try to send them with sessions. The variables
don't seem to be there when I try to get them. What could be the problem.
Here
Martine Osias wrote:
Hi:
I need to store variables to send then between pages. I don't need the
variables in a database so I try to send them with sessions. The
variables don't seem to be there when I try to get them. What could be
the problem. Here are the pages where I store and retrieve
Forgot to mention, you could check into the privacy
vs. server settings by doing:
session_start();
echo session_id();
on both pages. If they're different, then
this is the problem.
KDK
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
-
From: Martine Osias webi...@gmail.com
To: php-general@lists.php.net php-general@lists.php.net
Date: Saturday, March 13, 2010, 2:29:41 AM
Subject: [PHP] PHP Sessions
Hi:
I need to store variables to send then between pages. I don't need the
variables in a database so I try to send them
The sessions variables are OK. They don't print when I put them on the HTML
page with this code.
tr
td align=left?=laquo;.$_SESSION['scripture_text'].raquo;?/td
/tr
tr
td style=font-size: smaller;
align=right?=$_SESSION['scripture_ref']?/td
/tr
Thank you.
Martine
Martine Osias
Hi, I've always thought that session data was subdomain specific and would
not carry over between http://www.mydomain.com and
https://secure.mydomain.com, but it seems to be working for me now. Can I
rely on this and post from http://www.mydomain.com to
https://secure.mydomain.com and simply pass
Op 1/30/10 2:25 AM, Ben Miller schreef:
Hi, I've always thought that session data was subdomain specific and would
not carry over between http://www.mydomain.com and
https://secure.mydomain.com, but it seems to be working for me now. Can I
rely on this and post from http://www.mydomain.com to
I am trying to implement a relatively complete login system code for my
website, but the code is a bit dated ($HTTP_POST_VARS for example).
I am not too familiar with classes and I'm having trouble with this one.
I have an include which is the login form if the SESSION is not set, and a
mini
Hi all.
A question about PHP sessions and their interaction with AJAX.
I have a database containing sensitive information and users need to log in to
my PHP script and be authenticated before they are granted access.
For one of the forms I would like to retrieve information using AJAX
You could use a one time token on each request
Bastien
Sent from my iPod
On Nov 21, 2009, at 6:30 AM, Angus Mann angusm...@pobox.com wrote:
Hi all.
A question about PHP sessions and their interaction with AJAX.
I have a database containing sensitive information and users need to
log
At 9:30 PM +1000 11/21/09, Angus Mann wrote:
Hi all.
A question about PHP sessions and their interaction with AJAX.
I have a database containing sensitive information and users need to
log in to my PHP script and be authenticated before they are granted
access.
For one of the forms I would
Angus Mann wrote:
Hi all.
A question about PHP sessions and their interaction with AJAX.
I have a database containing sensitive information and users need to log in
to my PHP script and be authenticated before they are granted access.
For one of the forms I would like to retrieve
same as everywhere else in your apps.. ajax is no different in any way
at all, not even slightly. as far as PHP and web server is concerned
it's just a plain old request same as any other; thus..
if( !$_SESSION['is_logged_in'] ) {
exit();
}
// do stuff
Thanks for that. Sometimes the
All,
I am using sessions for my application to verify a user has logged in:
// Verify the user is logged in.
if (!isset($_SESSION['basic_is_logged_in'])
|| $_SESSION['basic_is_logged_in'] !== true) {
// If not logged in, redirect to the login page.
header('Location: login.php');
On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote:
All,
I am using sessions for my application to verify a user has logged in:
// Verify the user is logged in.
if (!isset($_SESSION['basic_is_logged_in'])
|| $_SESSION['basic_is_logged_in'] !== true) {
// If not logged in,
On Thu, Nov 12, 2009 at 1:21 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote:
All,
I am using sessions for my application to verify a user has logged in:
// Verify the user is logged in.
if (!isset($_SESSION['basic_is_logged_in'])
Hi Kranthi
kranthi wrote on 2009-10-24 07:27:
Db error: Access denied for user 'www-data'@'localhost' (using password: NO)
WTF? I´m not using a user called www-data for MySQL connections, but apache
runs as this user
in the case where $test is true there is an open mysql connection, but
Kim Madsen wrote on 2009-10-22 17:51:
Hi PHPeople
I have an odd problem at my new work and wonder if it's some sort of odd
setup that is causing this problem when using sessions:
Like I said, my new work and odd setup, an include file had a
mysql_close() in the bottom
Speaking of
Db error: Access denied for user 'www-data'@'localhost' (using password: NO)
WTF? I´m not using a user called www-data for MySQL connections, but apache
runs as this user
in the case where $test is true there is an open mysql connection, but
when $test is false there is no open connection is
Hi PHPeople
I have an odd problem at my new work and wonder if it's some sort of odd
setup that is causing this problem when using sessions:
if($test) {
$query = SELECT count(*) FROM articles WHERE group1 = 'fp';# AND
group2 = 'login';
$r = mysql_query($query) or die('Db error: ' .
Il pinguino volante wrote:
(There were some erroros in the previous email, I'm sorry)
Hi to all.
I have to realize an authentication system for a lot of users.
I heard that someone uses to store session states (?) into a database.
I'd like to know how and, expecially, WHY to do it and what's
(There were some erroros in the previous email, I'm sorry)
Hi to all.
I have to realize an authentication system for a lot of users.
I heard that someone uses to store session states (?) into a database. I'd
like to know how and, expecially, WHY to do it and what's would be better
Hi to all.
I have to realize an authentication system for a lot of users.
I heard that someone uses to store session states (?) to a database. I'd
like to know how by expecially WHY doing that and what's would be better
(considering that I can -d'oh!- touch the php.ini file).
Thanks in
If you are distributing your application over multiple servers, using a
database for session tracking allows a user to continue there session
regardless of which server their request bounces too. It prevents the
need for 'sticky' network connections which time out anyways. Databases
can make
for the various approaches to session
handling: PHP's file handler, user DB methods for the PHP session handler,
PHP's memcache handler, zend session clustering, or do it yourself and don't
use PHP sessions at all.
there's a lot of controversy on the topic because different people have
different
Sam Stelfox wrote on 2009-10-06 18:09:
If you are distributing your application over multiple servers, using a
database for session tracking allows a user to continue there session
regardless of which server their request bounces too. It prevents the
need for 'sticky' network connections which
-Original Message-
From: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Sent: 24 August 2009 04:30 PM
To: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original Message-
From: Nitebirdz [mailto:nitebi...@sacredchaos.com]
Sent: 20 August 2009
-Original Message-
From: Nitebirdz [mailto:nitebi...@sacredchaos.com]
Sent: 20 August 2009 02:58 PM
To: php-general@lists.php.net
Subject: Re: [PHP] SESSIONS lost sometimes
On Thu, Aug 20, 2009 at 02:34:54PM +0200, Angelo Zanetti wrote:
Hi Leon,
No harm intended :) Just thought
-Original Message-
From: Ben Dunlap [mailto:bdun...@agentintellect.com]
Sent: 19 August 2009 08:18 PM
To: Angelo Zanetti
Cc: php-general@lists.php.net
Subject: Re: [PHP] SESSIONS lost sometimes
We have a server with a site that does some XML calls. After lots of
testing
I have found
: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Sent: 20 August 2009 08:53 AM
To: 'Ben Dunlap'
Cc: php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original Message-
From: Ben Dunlap [mailto:bdun...@agentintellect.com]
Sent: 19 August 2009 08:18 PM
To: Angelo Zanetti
Cc
-Original Message-
From: Leon du Plessis [mailto:l...@dsgnit.com]
Sent: 20 August 2009 09:44 AM
To: php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
Since we are on the subject: I have the following similar problem:
When testing page on internet explorer, I find
variables from other sessions.
-Original Message-
From: Arno Kuhl [mailto:ak...@telkomsa.net]
Sent: 20 August 2009 10:03 AM
To: 'Leon du Plessis'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original Message-
From: Leon du Plessis [mailto:l
behaves in the very same manner. It's not limited to PHP
sessions either. It's always been my experience on any website that
requires authentication, including the likes of Google Mail, etc. When
I want to run multiple sessions for different GMail accounts, for
example, I just create a different
don't think PHP should allow
clearing SESSION variables from other sessions.
-Original Message-
From: Arno Kuhl [mailto:ak...@telkomsa.net]
Sent: 20 August 2009 10:03 AM
To: 'Leon du Plessis'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original
On Thu, Aug 20, 2009 at 10:26:35AM +0200, Leon du Plessis wrote:
It's not an issue, it's a feature.
Thanks Arno...but it is a pain also.
If I work with user A in Tab1 (window1), I want to work with user B
separately in Tab2. When user in Tab2 logs off, I still want user A to work,
and not
[mailto:nitebi...@sacredchaos.com]
Sent: 20 August 2009 10:40 AM
To: php-general@lists.php.net
Subject: Re: [PHP] SESSIONS lost sometimes
On Thu, Aug 20, 2009 at 09:44:02AM +0200, Leon du Plessis wrote:
Since we are on the subject: I have the following similar problem:
When testing page
.
-Original Message-
From: Peter Ford [mailto:p...@justcroft.com]
Sent: 20 August 2009 10:47 AM
To: php-general@lists.php.net
Subject: Re: [PHP] SESSIONS lost sometimes
Leon du Plessis wrote:
It's not an issue, it's a feature.
Thanks Arno...but it is a pain also.
If I work with user
...@dsgnit.com]
Sent: 20 August 2009 10:57 AM
To: 'Peter Ford'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
That is how I know browsers to work, yet for a while the bahaviour has
changed. The question in light of this then is, should a new browser or tab
not open a new PHP
your login variables.
-Original Message-
From: Nitebirdz [mailto:nitebi...@sacredchaos.com]
Sent: 20 August 2009 10:40 AM
To: php-general@lists.php.net
Subject: Re: [PHP] SESSIONS lost sometimes
On Thu, Aug 20, 2009 at 09:44:02AM +0200, Leon du Plessis wrote:
Since we
[mailto:a...@ashleysheridan.co.uk]
Sent: 20 August 2009 11:39 AM
To: Leon du Plessis
Cc: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
On Thu, 2009-08-20 at 10:50 +0200, Leon du Plessis wrote:
It'd make sense for things to run this way, I think. After all, I'd
by with it.
Regards
Leon
-Original Message-
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk]
Sent: 20 August 2009 11:39 AM
To: Leon du Plessis
Cc: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
On Thu, 2009-08-20 at 10:50 +0200, Leon du
...@ashleysheridan.co.uk]
Sent: 20 August 2009 12:05 PM
To: Leon du Plessis
Cc: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
On Thu, 2009-08-20 at 12:04 +0200, Leon du Plessis wrote:
Thanks Ashley,
I just want to iterate again that when a new page is opened by another
: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
Thanks Ashley,
I just want to iterate again that when a new page is opened by another
existing page in a new browser or Tab, the session_id is already created and
therefore the current way browsers work is in no way
On Thu, Aug 20, 2009 at 12:04:08PM +0200, Leon du Plessis wrote:
Thanks Ashley,
I just want to iterate again that when a new page is opened by another
existing page in a new browser or Tab, the session_id is already created and
therefore the current way browsers work is in no way
Plessis'; a...@ashleysheridan.co.uk
Cc: 'Nitebirdz'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
Hi Leon and all.
LEON you are misunderstanding how the sessions work. Also please start your
own thread and don't hijack mine.
To the rest that replied. Thanks, I am still
.
-Original Message-
From: Arno Kuhl [mailto:ak...@telkomsa.net]
Sent: 20 August 2009 10:03 AM
To: 'Leon du Plessis'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
-Original Message-
From: Leon du Plessis [mailto:l...@dsgnit.com]
Sent: 20 August 2009 09:44 AM
To: php
On Thu, Aug 20, 2009 at 02:34:54PM +0200, Angelo Zanetti wrote:
Hi Leon,
No harm intended :) Just thought that people were missing my post now and
only answering yours.
Angelo, excuse me if I'm bringing up something very basic, but I'm new
to this. Just trying to help.
I imagine
: RE: [PHP] SESSIONS lost sometimes
Hi Angelo,
No need to be nasty and touchy. If you have done trouble to read I have
closed the discussion in a prior listing and referred back to your original
thread. thanks
-Original Message-
From: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Sent: 20
No problem! Thx
-Original Message-
From: Angelo Zanetti [mailto:ang...@zlogic.co.za]
Sent: 20 August 2009 02:35 PM
To: 'Leon du Plessis'; php-general@lists.php.net
Subject: RE: [PHP] SESSIONS lost sometimes
Hi Leon,
No harm intended :) Just thought that people were missing my post now
The original problem..
server is losing session variables.
I dont think PHP is not good at unset() ing variables while the script
is executing.
general logger will be of use in this case (especially when cant
reproduce the problem every time). PEAR, Zend, FirePHP, files... any
thing will do...
On Thu, 2009-08-20 at 18:38 +0530, kranthi wrote:
The original problem..
server is losing session variables.
I dont think PHP is not good at unset() ing variables while the script
is executing.
general logger will be of use in this case (especially when cant
reproduce the problem every
I imagine redirects couldn't be the cause of the problem, right?
Thanks, this is really a life saver.. I never used
session_write_close() before any redirects...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We have a server with a site that does some XML calls. After lots of testing
I have found that the server is losing session variables.
[8]
Also the site goes from HTTP to HTTPS at some point but this isn't the issue
as it loses the sessions as soon as they are set sometimes.
Therefore I
2009/7/3 Daniel Brown danbr...@php.net
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca wrote:
Hello all,
Do I have to add session_start() at the beginning of every page so that
the $_SESSION variables work on all pages or do I use session_start() on
the first page and
2009/7/3 Luke l...@blog-thing.com
2009/7/3 Daniel Brown danbr...@php.net
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca wrote:
Hello all,
Do I have to add session_start() at the beginning of every page so that
the $_SESSION variables work on all pages or do I use
On Friday 03 July 2009 09:41:40 Tom Chubb wrote:
2009/7/3 Luke l...@blog-thing.com
2009/7/3 Daniel Brown danbr...@php.net
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca wrote:
Hello all,
Do I have to add session_start() at the beginning of every page so
2009/7/3 Ashley Sheridan a...@ashleysheridan.co.uk
On Friday 03 July 2009 09:41:40 Tom Chubb wrote:
2009/7/3 Luke l...@blog-thing.com
2009/7/3 Daniel Brown danbr...@php.net
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca
wrote:
Hello all,
Do I have to
2009/7/3 Ashley Sheridan a...@ashleysheridan.co.uk:
On Friday 03 July 2009 09:41:40 Tom Chubb wrote:
2009/7/3 Luke l...@blog-thing.com
2009/7/3 Daniel Brown danbr...@php.net
On Thu, Jul 2, 2009 at 23:27, Jason Carsonja...@jasoncarson.ca wrote:
Hello all,
Do I have to add
Hi,
..
This is precisely what I do, albeit my file is called config.php, and
not init.php. Not that it makes a jot of difference. This file is used
to setup the environment, so that way everything I commonly need is
available simply by including one file. One thing to note though is
that a
Hello all,
Do I have to add session_start() at the beginning of every page so that
the $_SESSION variables work on all pages or do I use session_start() on
the first page and something else on other pages?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
1 - 100 of 1715 matches
Mail list logo