Re: [PHP] Session problems with 4.4.5?

2007-02-22 Thread alex handle
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

Re: [PHP] Session problems with 4.4.5?

2007-02-22 Thread steve
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

Re: [PHP] Session problems with 4.4.5?

2007-02-16 Thread Jochem Maas
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

RE: [PHP] Session problems [SOLVED]

2006-02-22 Thread Dan Parry
Hi all I didn't get that many replies (thanks to those who did reply :) ) for this, so now I've figured out the problem I thought I'd share the solution just in case anyone else has the same issue: solution The problem stemmed from the way the return from UPDATE is handled and the scripts

RE: [PHP] Session problems

2006-02-16 Thread Peter Lauri
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

RE: [PHP] Session problems

2006-02-16 Thread Dan Parry
: [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

Re: [PHP] Session problems

2006-02-16 Thread Curt Zirzow
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.

Re: [PHP] Session problems

2006-02-16 Thread Richard Lynch
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

RE: [PHP] Session problems

2006-02-16 Thread Chrome
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

Re: [PHP] Session problems

2005-07-13 Thread Richard Lynch
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()

Re: [PHP] Session problems

2005-07-13 Thread Ahmed Saad
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

Re: [PHP] Session problems under heavy load???

2004-08-07 Thread Torsten Roehr
Ed Lazor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I ran into this last month. It was a problem with the ISP's server. They were load balancing between different machines and PHP / Apache was having trouble accessing session files. Storing the session data in a database might

RE: [PHP] Session problems under heavy load???

2004-08-06 Thread Ed Lazor
I ran into this last month. It was a problem with the ISP's server. They were load balancing between different machines and PHP / Apache was having trouble accessing session files. -Original Message- From: BOOT [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 1:26 PM To:

Re: [PHP] Session problems...

2004-03-19 Thread John W. Holmes
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

Re: [PHP] Session problems...

2004-03-19 Thread Eric Gorr
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

Re: [PHP] Session problems...

2004-03-19 Thread Eric Gorr
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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Evan Nemerson
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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread 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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Curt Zirzow
* 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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Evan Nemerson
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

Re: [PHP] session problems in php 4.3.2

2003-07-10 Thread Jason Wong
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

Re: [PHP] session problems again

2002-11-28 Thread Marek Kilimajer
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

RE: [PHP] session problems again

2002-11-27 Thread Rich Gray
Jason session.cookie_lifetime set to 0 means the session cookie persists until the client browser is closed... I'm not clear if you are still having session problems now or the advice you got earlier sorted it? Rich -Original Message- From: Jason Romero [mailto:[EMAIL PROTECTED]] Sent:

RE: [PHP] session problems

2002-11-26 Thread John W. Holmes
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

Re: [PHP] Session problems: Warning: write failed: Disk quota exceeded

2002-08-21 Thread Bob Irwin
G'day, Most likely they haven't pointed it to the right place (or maybe permissions? Doubt it would give this error for that). Session information is usually stored in /tmp on the hosting server (and on unix servers /tmp is actually a disk partition with a set size). There are a lot of

Re: [PHP] Session problems with popup window

2002-07-08 Thread Jim lucas
pass the user id to the page as a url variable. maybe set a unique cookie name for that value that won't get destroyed when the person logs out. Jim Lucas - Original Message - From: Michael Champagne [EMAIL PROTECTED] To: PHP General Mailing List [EMAIL PROTECTED] Sent: Monday, July 08,

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Chris Shiflett
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

Re: [PHP] Session problems based on browser?

2002-06-18 Thread 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 having, but Internet Explorer has a long history of poor cookie implementation, from

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
: [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

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Chris Shiflett
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

RE: [PHP] Session problems based on browser?

2002-06-18 Thread César Aracena
Hi all. I'm having the same problem when developing a site with a flash animation inside. Let's say I'm seeing the page, I change the flash background color, save the flash animation again and refresh the page... nothing happens. I found out that is a problem of configuration of my IE. If I go

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Chris Shiflett
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 headers with regards to caching are more intended to dictate proxy behavior. For example, the header above specifying that cache-control be private

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
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

Re: [PHP] session problems....

2002-06-14 Thread SenthilVelavan
-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

RE: [PHP] session problems....

2002-06-14 Thread Bruce Karstedt
You should not be writing to /tmp that is a system directory. php.ini is a file. If you need a temporary directory, use ./tmp that will be directory in your web root directory. Bruce Karstedt President Technology Consulting Associates, Ltd. Tel: 847-735-9488 Fax: 847-735-9474 -Original

Re: [PHP] session problems....

2002-06-14 Thread Chris Shiflett
I'm not sure what sysadmins you are talking about, but /tmp is typically a world-writable directory. Also, there is no such strict Unix naming convention. The directory /tmp is always /tmp, so matter how lenient you want to be. There is simply a difference between relative paths and absolute

Re: [PHP] session problems...

2002-05-13 Thread 1LT John W. Holmes
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

Re: [PHP] session problems

2002-03-14 Thread Erik Price
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

RE: [PHP] session problems not finding my variables..

2002-01-16 Thread Jaime Bozza
Peter, I had a similar problem, and I believe there's a bug report already filed about it. PHP doesn't seem to save session variables if you use the Location: header. What I do in my scripts when I need to set a location redirect is run 'session_write_close()' before I use the header

Re: [PHP] session problems when calling within a class.

2001-08-08 Thread Sean C. McCarthy
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

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Johnson, Kirk
Just move these two lines to the beginning of the file: session_start(); session_register(test); These have to be before any output is sent to the browser. Kirk -Original Message- From: Bruno Freire [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 2:42 PM

Re: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Nikhil Goyal
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

RE: [PHP] Session Problems....HELP!!!!

2001-05-03 Thread Altunergil, Oktay
If you don't use output buffering, the session stuff has to be the first thing in you script. In other words, you should not send anything to the browser before the session functions. In your case you are sending html tags to the browser before the session functions. Rewrite it as the following:

Re: [PHP] session problems

2001-03-28 Thread Jeff Warrington
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

Re: [PHP] Session problems

2001-02-22 Thread php3
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

Re: [PHP] Session problems

2001-01-24 Thread Johannes Janson
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

Re: [PHP] Session problems

2001-01-23 Thread Johannes Janson
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

Re: [PHP] Session problems

2001-01-23 Thread Jimmy Bäckström
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