On 2/16/07, Jochem Maas [EMAIL PROTECTED] wrote:
Ken Williams wrote:
Is anyone else having problems with session in 4.4.5? I'm under apache
1.3.27 in linux 2.4.34 and all my web sites break under 4.4.5. As soon
as a
page tries to register a session variable with session_register apache
Yes... I think the test version of it goes out today.
On 2/22/07, alex handle [EMAIL PROTECTED] wrote:
On 2/16/07, Jochem Maas [EMAIL PROTECTED] wrote:
Ken Williams wrote:
Is anyone else having problems with session in 4.4.5? I'm under apache
1.3.27 in linux 2.4.34 and all my web sites
Ken Williams wrote:
Is anyone else having problems with session in 4.4.5? I'm under apache
1.3.27 in linux 2.4.34 and all my web sites break under 4.4.5. As soon as a
page tries to register a session variable with session_register apache will
segfault. Has worked perfectly fine for the
Is anyone else having problems with session in 4.4.5? I'm under apache
1.3.27 in linux 2.4.34 and all my web sites break under 4.4.5. As soon as a
page tries to register a session variable with session_register apache will
segfault. Has worked perfectly fine for the past 2 years and like 10
Message-
From: Dan Parry [mailto:[EMAIL PROTECTED]
Sent: 16 February 2006 09:51
To: php-general@lists.php.net
Subject: [PHP] Session problems
Hi all
I've been getting an error while using a custom session handler utilising a
MySQL database
The error I receive is:
Duplicate entry
Hi all
I've been getting an error while using a custom session handler utilising a
MySQL database
The error I receive is:
Duplicate entry 'PHPSESSID_REMOVED' for key 1
Warning: Unknown(): A session is active. You cannot change the session
module's ini settings at this time. in Unknown
What is the code that generates this?
-Original Message-
From: Dan Parry[EMAIL PROTECTED]
Sent: 16/02/06 4:50:51 PM
To: php-general@lists.php.netphp-general@lists.php.net
Subject: [PHP] Session problems
Hi all
I've been getting an error while
: [PHP] Session problems
What is the code that generates this?
-Original Message-
From: Dan Parry[EMAIL PROTECTED]
Sent: 16/02/06 4:50:51 PM
To: php-general@lists.php.netphp-general@lists.php.net
Subject: [PHP] Session problems
Hi all
I've been
On Thu, Feb 16, 2006 at 12:37:14PM -, Dan Parry wrote:
Here is the complete code from the class... it's just a modified version of
that available from an article on the Zend site
?
$ses_class = new session();
ini_set(session.save_handler, user);
You dont need to do this.
On Thu, February 16, 2006 3:50 am, Dan Parry wrote:
I've been getting an error while using a custom session handler
utilising a
MySQL database
The error I receive is:
Duplicate entry 'PHPSESSID_REMOVED' for key 1
Looks like your Session ID that you are trying to insert into the
database in
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session problems
On Thu, February 16, 2006 3:50 am, Dan Parry wrote:
I've been getting an error while using a custom session handler
utilising a
MySQL database
The error I receive is:
Duplicate entry 'PHPSESSID_REMOVED' for key 1
Looks like
Don't use session_register()
It was only needed way back when in PHP3 (?)
Simplify your test until it works -- Then start adding the other stuff in.
Are you *SURE* you are calling session_start() on the page that gets the
POST?
I think you need to call session_name() *BEFORE* session_start()
On 7/13/05, Richard Lynch [EMAIL PROTECTED] wrote:
I think you need to call session_name() *BEFORE* session_start() but I
could be wrong about that...
totally right! in the php manual,
The session name is reset to the default value stored in session.name
at request startup time. Thus, you need
I am having a problem with sessions. For some reason it keeps creating
a new session for every page link you click and not using the original
session created when session_start() gets called. Below is the code I
am testing with.
[one.php]
?php
$SessionID = md5( uniqid( rand () ) );
solve this problem.
Regards, Torsten Roehr
-Original Message-
From: BOOT [mailto:[EMAIL PROTECTED]
Sent: Friday, August 06, 2004 1:26 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Session problems under heavy load???
My server was under a heavy load (rebuilding software raid 1
My server was under a heavy load (rebuilding software raid 1 array) and my
PHP+MySQL site seemed to be all messed up. From what I can makeout session
variables were being lost. I would expect simply degraded performance but
not the loss of variables. Is this normal? LOL the array is still
To: [EMAIL PROTECTED]
Subject: [PHP] Session problems under heavy load???
My server was under a heavy load (rebuilding software raid 1 array) and my
PHP+MySQL site seemed to be all messed up. From what I can makeout
session
variables were being lost. I would expect simply degraded performance
I thought I had a pretty good handle on sessions, but I can't figure
out what could possibly be going wrong in this case. I've stripped my
code down to basically the bear minimum which still reproduces the
problem, which I included below.
When I visit test1.php with the url:
From: Eric Gorr [EMAIL PROTECTED]
When I visit test1.php with the url:
http://domainpath/test1.php?name=billpwd=henry
I see the output:
user = 'bill'
ID= 41699d4461e8fe3a71243bb3cb1c2298'
You were remembered and are now being redirected to the home page. If
this fails for some reason
At 1:58 PM -0500 3/19/04, John W. Holmes wrote:
From: Eric Gorr [EMAIL PROTECTED]
When I visit test1.php with the url:
http://domainpath/test1.php?name=billpwd=henry
I see the output:
user = 'bill'
ID= 41699d4461e8fe3a71243bb3cb1c2298'
You were remembered and are now being redirected to
Ah HA! I knew I wasn't crazy...well, pretty sure... ;-)
I figured out why my sessions were behaving so oddly.
I was accessing test1.php via:
http://ericgorr.net/...
In test1.php, I was then redirecting to test2.php via
http://www.ericgorr.net/...
Apparently, with Mozilla and Safari, php
Hi, i have the followin problem, i have a site that use sessions,
sometimes when i want to write on the session i get the followin error:
Warning: Unknown(): The session id contains invalid characters, valid
characters are only a-z, A-Z and 0-9 in Unknown on line 0
Warning: Unknown(): Failed to
thanks for the help, it definitely saved my from hours of pulling at me
hairs.
however i have a new problem. i can create session variables, but i can't
access them across pages.
for example.
page2.php
Code:
?php
// start the session
session_start();
header(Cache-control: private); //IE 6 Fix
is the correct one which is the standalone
similar to 4.2 and 4.0.6. I hope its just a user error at this point.
Thanks
From: Evan Nemerson [EMAIL PROTECTED]
To: Joe Sheehan [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] Session Problems with 4.3.2
Date: Tue, 22 Jul 2003 13:10:40 -0700
Try
I've been using up until a day or so ago version 4.0.6.
I'm moving everything now to 4.3.2 but
having problems with sessions. I've tried a basic example
but can't retrieve session values.
Can anyone tell me what I'm doing wrong? I see the session file
is created but can't retrieve its value. What
Just noticed my email was messed up because of the html. Sorry
about that
I've been using up until a day or so ago version 4.0.6.
I'm moving everything now to 4.3.2 but
having problems with sessions. I've tried a basic example
but can't retrieve session values.
Can anyone tell me what I'm doing
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try
?php isset($_SESSION['count']) ? echo Yes.\n : echo No.\n; ?
On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote:
Just noticed my email was messed up because of the html. Sorry
about that
I've been using up until
PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Session Problems with 4.3.2
Date: Tue, 22 Jul 2003 10:01:03 -0700
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try
?php isset($_SESSION['count']) ? echo Yes.\n : echo No.\n; ?
On Tuesday 22 July 2003 09:55 am, Joe Sheehan
: [EMAIL PROTECTED]
Subject: Re: [PHP] Session Problems with 4.3.2
Date: Tue, 22 Jul 2003 10:01:03 -0700
Were you planning on incrementing $_SESSION['count'] anywhere? If not, try
?php isset($_SESSION['count']) ? echo Yes.\n : echo No.\n; ?
On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote:
Just
* Thus wrote Joe Sheehan ([EMAIL PROTECTED]):
It echo No. Have no idea why its not set?
Even tried using session_register with register_globals on
but no luck either.
Anyone have any idea what i'm doing wrong? I'm hoping its just
a user error.
Are you using cookie based sessions? And if yes
on
but no luck either.
Anyone have any idea what i'm doing wrong? I'm hoping its just
a user error.
Thanks in advance
From: Evan Nemerson [EMAIL PROTECTED]
To: Joe Sheehan [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Session Problems with 4.3.2
Date: Tue, 22 Jul 2003 10:01:03 -0700
Hello,
I have a problem with php 4.3.2.
I have a php code and i used sessions, that code works properly in php
4.3.0 and now after upgrade php to 4.3.2 version not work.
Any ideas about this.
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thursday 10 July 2003 18:26, Tassos T wrote:
I have a problem with php 4.3.2.
I have a php code and i used sessions, that code works properly in php
4.3.0 and now after upgrade php to 4.3.2 version not work.
Any ideas about this.
- Read the release notes
- Read the change log
- Compare
Hello... I'm having a hard time passing values from one php scripts to the
other because it doesn't seem to work. Here's part of the script
session_start();
require_once(./functions.php);
$usrname = $_POST['usrname'];
$passwrd= $_POST['passwrd'];
session_register('usrname');
Check your session files (usually in /tmp) if they are what they are
supposed to be
Jason Romero wrote:
--when using session registered variables
--i can only get them to save as session variables for one page
--then on the next page they are gone
--far as i can tell the variables are not
--when using session registered variables
--i can only get them to save as session variables for one page
--then on the next page they are gone
--far as i can tell the variables are not getting written over or unset
--and the session is not gettting destroyed
--any other ideas what it might be?
i
: 27 November 2002 15:09
To: [EMAIL PROTECTED]
Subject: [PHP] session problems again
--when using session registered variables
--i can only get them to save as session variables for one page
--then on the next page they are gone
--far as i can tell the variables are not getting written over or unset
when using session registered variables
i can only get them to save as session variables for one page
then on the next page they are gone
far as i can tell the variables are not getting written over or unset
and the session is not gettting destroyed
any other ideas what it might be?
Jason
--
when using session registered variables
i can only get them to save as session variables for one page
then on the next page they are gone
far as i can tell the variables are not getting written over or unset
and the session is not gettting destroyed
any other ideas what it might be?
Do you
Hi,
Recently, my php app has started to throw these warnings:
Warning: write failed: Disk quota exceeded (122) in Unknown on line 0
Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct (/tmp) in Unknown on
line 0
I narrowed it
Netcom
- Original Message -
From: Beau Hartshorne [EMAIL PROTECTED]
To: php-general [EMAIL PROTECTED]
Sent: Thursday, August 22, 2002 12:24 PM
Subject: [PHP] Session problems: Warning: write failed: Disk quota
exceeded
Hi,
Recently, my php app has started to throw these warnings:
Warning
What does it mean when PHP forces the session ID into the URL, the host
changed something in the configuration without informing me it would
seem, (it dind't happen before now does)
R
--__-__-__
eat pasta
type fasta
--
PHP General Mailing List
G'day,
I'm having some frustrating issues with PHP 4.1.2 and Apache/1.3.26.
I am using sessions on a secure server and on a whole, they are working
beautifully.
Using the same code on all pages (after the user logs in successfully, they
are given a value and its a simple 'if' statement to
I can't seem to find an elegant solution to this and was hoping you guys could
offer some insight.
We are using sessions on our webpage and one of the links on our main page,
launches a separate popup window which has some PHP on it and contains some
java applets which launch our web-based
, 2002 8:18 AM
Subject: [PHP] Session problems with popup window
I can't seem to find an elegant solution to this and was hoping you guys
could
offer some insight.
We are using sessions on our webpage and one of the links on our main
page,
launches a separate popup window which has some PHP
G'day,
I'm using scripts that are using sessions. A user logs into a main page
with
a master list of database entries. They go to another page, add a new
database entry and it appears on the master list. The user adds another
database entry and upon going back to the master list, the new
I'm not sure if this might be related to the problem you're having, but
Internet Explorer has a long history of poor cookie implementation, from
the browser allowing anyone to read cookies from any site (versions 4.0
- 6.0) to the browser not sending the cookie information in subsequent
[EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, June 19, 2002 11:36 AM
Subject: Re: [PHP] Session problems based on browser?
I'm not sure if this might be related to the problem you're having, but
Internet Explorer has a long history of poor cookie implementation, from
: [PHP] Session problems based on browser?
I'm not sure if this might be related to the problem you're having, but
Internet Explorer has a long history of poor cookie implementation, from
the browser allowing anyone to read cookies from any site (versions 4.0
- 6.0) to the browser not sending
Netcom
- Original Message -
From: Chris Shiflett [EMAIL PROTECTED]
To: Bob Irwin [EMAIL PROTECTED]
Cc: php-general [EMAIL PROTECTED]
Sent: Wednesday, June 19, 2002 11:36 AM
Subject: Re: [PHP] Session problems based on browser?
I'm not sure if this might be related to the problem you're
in a DB or file???
-Original Message-
From: Bob Irwin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 8:57 PM
To: php-general
Subject: [PHP] Session problems based on browser?
G'day,
I'm using scripts that are using sessions. A user logs into a main
page
with
a master
-
From: Bob Irwin [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 8:57 PM
To: php-general
Subject: [PHP] Session problems based on browser?
G'day,
I'm using scripts that are using sessions. A user logs into a main
page
with
a master list of database entries. They go to another
Irwin' [EMAIL PROTECTED]; 'php-general'
[EMAIL PROTECTED]
Sent: Wednesday, June 19, 2002 1:38 PM
Subject: Re: [PHP] Session problems based on browser?
I mentioned a couple in a previous email:
header(Expires: . gmdate(D, d M Y H:i:s, time()) . GMT);
header(Cache-Control: Private);
Most HTTP
Anyone know why php would complain about not having permission to write
the session file in /tmp (and to check the session.save_path var in my
php.ini file. when it does specify /tmp in the php.ini and /tmp has
drwxrwxrwt for permissions?
I need a resolution... even if we have to pay for
-Rick
Change the owner and group of the directory to nobody.nobody to your /tmp
directory.Iam not sure here.
regards,
SenthilVelavan.P
- Original Message -
From: php [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 15, 2002 7:42 AM
Subject: [PHP] session problems
Message-
From: php [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 9:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session problems
Anyone know why php would complain about not having permission to write
the session file in /tmp (and to check the session.save_path var in my
php.ini file
BK You should not be writing to /tmp that is a system directory. php.ini is a
BK file. If you need a temporary directory, use ./tmp that will be directory
BK in your web root directory.
With all due respect, I think there's a reason that /tmp is the default
session.save_path value in php.ini.
:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:13 PM
To: Bruce Karstedt
Cc: 'php'; [EMAIL PROTECTED]
Subject: Re[2]: [PHP] session problems
BK You should not be writing to /tmp that is a system directory. php.ini is
a
BK file. If you need a temporary directory, use ./tmp
-
From: Julie Meloni [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 10:13 PM
To: Bruce Karstedt
Cc: 'php'; [EMAIL PROTECTED]
Subject: Re[2]: [PHP] session problems
BK You should not be writing to /tmp that is a system directory. php.ini is
a
BK file. If you need a temporary
Ok I think I am a little confused as to if this is working or not: I have
commented in the places where I am confused... if someone could please point
out why the variables u_name p_word are not being registered that would
help me out a ton... thanks in advance,
Jas
--- Form to log user in ---
$HTTP_SESSION_VARS['myvar'];
// .. or with reg globals OFF and after v4.1
echo $_SESSION['myvar'];
?
Hope this helps.
-Kevin
- Original Message -
From: Jas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, May 13, 2002 12:13 PM
Subject: [PHP] session problems
In addition to what Kevin said:
$_SESSION and $_session are not the same variables.
Use quotes in your session_register(), too: session_register(u_name),
although you don't need session_register() at all, if you are using
$_SESSION['u_name'] = value; syntax.
---John Holmes...
Ok I think I
Hi!
I have a problem with sessions. I have an application that runs in a browser
and on some menu's it window.opens other windows with the same session.
let's say that on the main window I have the interface to a tool to do
traceroute to a host. In that main window I enter the host to
I am working with a login system and on my login I want to star a session
that has the variables login and password registered.
This is the way of my files are organized.
I have a login.htm that has a form which POST the two fields of this form
called 'ct_login' and 'ct_pass' and has the action =
On Thursday, March 14, 2002, at 02:15 PM, Daniel Ferreira Castro wrote:
If it validates the user, then he creates a session called
login_session and
open another file called s_proj.htm throug the line
header(location:http://pinguim/pb/s_proj.php;);
The problem is
on my login.php I have
function. This assures me that the data is written.
Jaime Bozza
-Original Message-
From: Peter Lavender [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 7:35 PM
To: php-general
Subject: [PHP] session problems not finding my variables..
Hi everyone,
I'm not sure what I have done
Hi everyone,
I'm not sure what I have done wrong here. I haven't been sucessful in
finding anything that points to what the cuase could be.
What I find interesting is that I have used session in another area of the
web site with out problems. The only difference between it and the way I
have
I just added sessions to a web site that I am developing, and now the
browser keeps saying page expired when I hit back on several pages.
For example, I have a search page that displays results, user clicks on a
result to view, and when the user hits back to go back to the search list
they get
Greetings,
I'm having a puzzling time trying to figure out how to work around the issue
of the session_id not existing after making calls to session_start and
session_id to generate an session. It seems that by set_si() calling
session_id and seeing if there is a value, doesn't not work.
Hi,
I got the same problem but i left it (had no more time to fumble around
with it). But try this, because it was what I was going to try:
function ccsession($userid = '1', $groupid = '1', $authid = '1',
$username = 'guest', $first_name = 'Guest', $last_name = 'Account')
{
global
Hi All,
I am in trouble with the session handling of PHP. It works fine as long
as the session_start is not inside a function or a class. My idea was to
create a session class with a constructor calling session_start(). The
variables inside the session class would hide the session vars. Proper
Hi,
I use this simple session script below, but the session variables are not
carried over from 1.php to 2.php. What can be wrong? I can see on the
server that the files are created. When I open 1.php a 1K file is created
on the server and the contents (my_session_variable|s:10:some value;).
Hi everyone,
I can't get the sessions working in linux.
I changed:
/usr/local/lib/php.ini session.auto_start = 1
so when the browser go to the page, a cookie is recieved.
In the /tmp-dir a file is created and everything looks great.
However, when I register a variable and set it to a value,
Hi! my name is bruno, from Brazil and i'm having some problems with
sessions.
Look my code:
html
head
...
/head
body
?php
session_start();
session_register(test);
?
/body
/html
The message returned in my browser is:
Warning: Cannot send session
To: '[EMAIL PROTECTED]'
Subject: [PHP] Session ProblemsHELP
Hi! my name is bruno, from Brazil and i'm having some problems with
sessions.
Look my code:
html
head
...
/head
body
?php
session_start();
session_register(test
the session_start() should be placed at the top, before the HTML
?php session_start(); ?
html
head
...
?php
session_register(test)
...
Nikhil
Bruno Freire [EMAIL PROTECTED] wrote in message
:
?php
session_start();
session_register(test);
?
html
head
...
/head
body
/body
/html
-Original Message-
From: Bruno Freire [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 4:42 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Session
hello all. I am attempting to register two session variables that are
in fact class instances. As per instructions, the definitions for these
classes are prepended to the files being loaded so the class defs
are present when the session starts.
If I do this on the first page:
In article 99u746$gra$[EMAIL PROTECTED], "Jeff Warrington"
[EMAIL PROTECTED] wrote:
Never mind everybody. It turns out that I had to set the
odbc_longreadline setting to make sure that the full serialized
session data was read from the DB.
Jeff
hello all. I am attempting to register two
Addressed to: Jack Davis [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from Jack Davis [EMAIL PROTECTED] Wed, 21 Feb 2001 14:58:13
-0600
We have designed a web based email program that we have
recently found a problem with...If you open up two email
accounts in two
I don't know if it'll help but here my bit of the php.ini:
session.save_handler = files ; handler used to store/retrieve data
session.save_path = C:\Programme\Apache
Group\Apache\cgi-bin\php4\sessiondata; argument passed to
save_handler
; in
you have to set the 'session.save_path' in your php.ini.
be careful with the slashes you use. as you can see from
the error msg by default it's '/' but windows uses '\'.
good luck
Johannes
"Jimmy Bäckström" [EMAIL PROTECTED] schrieb im Newsbeitrag
Yeah I used a path name with '\' instead of '/' but it still does not work. Help!
"Johannes Janson" [EMAIL PROTECTED] wrote in message
94kpfm$4cc$[EMAIL PROTECTED]">news:94kpfm$4cc$[EMAIL PROTECTED]...
you have to set the 'session.save_path' in your php.ini.
be careful with the slashes you
i am workink with php 4.0.2, apache server 1.312 and mySql and im having throubles
using sessionssomeone could help me
thanks...
84 matches
Mail list logo