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 we

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-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 th

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: The problem stemmed from the way the return from UPDATE is handled and the scripts reliance on the

RE: [PHP] Session problems

2006-02-16 Thread Chrome
ebruary 2006 21:26 To: Dan Parry 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: >

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 '<>' for key 1 Looks like your Session ID that you are trying to insert into the database in your ses

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 Dan Parry
s_table . " WHERE ses_time < $ses_life"; $session_res = @mysql_query ($session_sql, $this->dblink); if (!$session_res) $this->localError('c1(ses)', mysql_error() . ' - SQL: ' . $session_sql . 'Click here to build session tables (for

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.net" Subject: [PHP] Session problems Hi all I've been getting an error while using a custom sessio

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

Re: [PHP] Session problems

2005-07-12 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 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

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 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 s

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://domain&path/test1.php?name=bill&pwd=henry I see the output: user = 'bill' ID= 41699d4461e8fe3a71243bb3cb1c2298' You were remembered and are now being redirected

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://domain&path/test1.php?name=bill&pwd=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 s

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
hich daemon in 4.3 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

Re: [PHP] Session Problems with 4.3.2

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

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

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
ot; <[EMAIL 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 On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote: > Just notic

Re: [PHP] Session Problems with 4.3.2

2003-07-22 Thread Joe Sheehan
"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 Were you planning on incrementing $_SESSION['count'] anywhere? If not, try On Tuesday 22 July 2003 09:55 am, Joe Sheehan wrote

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 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 a day or so ago version 4.0.6. > I'm moving everything no

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 - Compa

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 gettin

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: 2

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

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 applica

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, J

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
sar Aracena" <[EMAIL PROTECTED]> Cc: "'Bob 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

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 pri

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 to

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Chris Shiflett
the location function at all BTW. > >Best Regards >Bob (Coffee + Laptop = KABOOM!) Irwin >Server Admin & Web Programmer >Planet Netcom >- Original Message - >From: "Chris Shiflett" <[EMAIL PROTECTED]> >To: "Bob Irwin" <[EMAIL PROTECTED]&

Re: [PHP] Session problems based on browser?

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

Re: [PHP] Session problems based on browser?

2002-06-18 Thread Bob Irwin
TECTED]> 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 having, but >

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 reques

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 absolu

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 Me

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-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 thin

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.ph

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 functi

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 $H

Re: [PHP] Session problems

2001-07-19 Thread Bernie Kruger
1.Cookies are on 2.session.use_trans_sid = 1 Will try the rest. Tx "Slavomir Slizik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > check out if you have cookies turned on. Or, compile php with > --enable-trans-sid, where the PHPSE

Re: [PHP] Session problems

2001-07-19 Thread Slavomir Slizik
Hello, check out if you have cookies turned on. Or, compile php with --enable-trans-sid, where the PHPSESSID is automatically attached to all URLs and forms without using cookies. try to do session_register() before session_start() in 1.php, or do not use session_start() in 1.php (only session_re

RE: [PHP] Session problems

2001-07-19 Thread Adrian Ciutureanu
Default settings for sessions is to use cookies that expires when you close (all instances of) the browser. If you are simply type 1.php and then 2.php in Address your code must work. But, again: if you are using the default configuration. > -Original Message- > From: Bernie Kruger [mailt

RE: [PHP] Session-problems in linux

2001-06-25 Thread Diego Fulgueira Pastor
I had EXACTLY the same problem about a month a go, but using IIS on Win2k. The session file contains only ":foo|", so it's just the same. There are a couple of things to check: 1. Make sure the browser is receiving the cookie. 2. Make sure the browser is returning the cookie (shoul

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....HELP!!!!

2001-05-03 Thread Nikhil Goyal
the session_start() should be placed at the top, before the ... wrote in message 454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR">news:454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR... > Hi! my name is bruno, from Brazil and i'm having some problems with > sessions. > Look my code: > >

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

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 t

Re: [PHP] Session problems

2001-02-21 Thread Martin A. Marques
Mensaje citado por: Jack Davis <[EMAIL PROTECTED]>: > 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 different browser windows, the first window > opened takes on the session that the second window is in. > It a

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 t

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

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 001201c08564$f7398660$554d59d5@broder">news:0