Re: [PHP] Problem with sessions.

2008-01-13 Thread Jochem Maas
Balasubramanyam A schreef: Could someone help with this code? It is a search and delete program. I'm executing bunch of code within if-else statement. After searching the records in else block the code is redirecting to if block. I'm not able delete the records in else block. How do avoid the

Re: [PHP] Problem with Sessions

2006-01-24 Thread Jochem Maas
Barry wrote: Hi! I got a very funny problem. I wonder if anyone else encountered that. I start a Session at Shop startpage to keep some arrays and such. Stuff you need for the Cart and so. so fine so good. But when the customer goes through that Page some session vars just get NULL. are

Re: [PHP] Problem with Sessions

2006-01-24 Thread Richard Lynch
On Tue, January 24, 2006 10:30 am, Barry wrote: I got a very funny problem. I wonder if anyone else encountered that. I start a Session at Shop startpage to keep some arrays and such. Stuff you need for the Cart and so. so fine so good. But when the customer goes through that Page some

Re: [PHP] Problem with Sessions

2006-01-24 Thread Richard Correia
upgrade to 4.4.X 4.2 has known problems in session handling. Thanks, Richard On 1/24/06, Barry [EMAIL PROTECTED] wrote: Hi! I got a very funny problem. I wonder if anyone else encountered that. I start a Session at Shop startpage to keep some arrays and such. Stuff you need for the Cart

Re: [PHP] Problem with sessions

2004-08-28 Thread gregosh
Yes, that indeed was a typo but only in my message above. It's not the problem with the script Uzytkownik Andre Dubuc [EMAIL PROTECTED] napisal w wiadomosci news:[EMAIL PROTECTED] Hi, Looking at your code, I noticed that either you're missing the closing double quote to close off the Location

Re: [PHP] Problem with sessions

2004-08-27 Thread gregosh
you sure the cookie is being set? try this header(Location: http://; . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . '/b.php?'.SID); I had tried this before - no result. The cookie is set in the \temp dir where it is intended. And that's

Re: [PHP] Problem with sessions

2004-08-27 Thread Andre Dubuc
Hi, Looking at your code, I noticed that either you're missing the closing double quote to close off the Location expression, or you're ending it early with a double quote at http://;. Shouldn't it read: header(Location: http://' . $_SERVER['HTTP_HOST'] ^

Re: [PHP] Problem with sessions

2004-08-26 Thread Matt M.
but when I use PHP's header(location: b.php); expression a new session is created and the data from the previous one is lost. Anyone familiar with this problem? Any known solutions? It's been really driving me nuts! you sure the cookie is being set? try this header(Location: http://; .

RE: [PHP] problem with sessions - IE working after session.use_trans_sid enabled.

2003-08-18 Thread Ford, Mike [LSS]
On 17 August 2003 12:38, anders thoresson wrote: Hi, I've had some problems with Internet Explorer not working on the site I'm building at the moment. At my local system it worked, but not on my ISP. After comparing the session settings, only use_trans_sid differed: enabled at my local

Re: [PHP] Problem with sessions

2003-07-17 Thread John W. Holmes
Peda wrote: Warning: session_start(): open(tmp/sess_41e301350c11c38d0249bc8c72ffb2ec, O_RDWR) failed: Permission denied (13) in /home2/pena/public_html/listing1.php on line 3 Can anyone tell me what is wrong? PHP is trying to save session data in /tmp by writing a file there, but permission is

Re: [PHP] Problem with sessions expiring?

2003-03-14 Thread CPT John W. Holmes
Session files will be cleaned up after 24 minutes by default. So if they take longer than that, and the garbage collection deletes their session file, then they are no longer logged in. Increase the session.gc_maxlifetime parameter in php.ini ---John Holmes... - Original Message - From:

Re: [PHP] Problem with sessions

2003-02-18 Thread Larry E. Ullman
This work very well, but when i open twice mozilla browsers and login with diferent users, i always keep the same session id, and sessions vars for two browsers... i don't know how to resolve this problem... Use two different browsers, for example, both Mozilla and Netscape. The session cookie

RE: [PHP] Problem with sessions.

2002-12-19 Thread Quentin Bennett
Hi, Is your 'other server' identical (Web Server, PHP Version, register_globals setting)? Quentin -Original Message- From: Mike Hillyer [mailto:[EMAIL PROTECTED]] Sent: Friday, 20 December 2002 12:43 p.m. To: PHP GENERAL LIST Subject: [PHP] Problem with sessions. Hello All; Please

RE: [PHP] Problem with sessions.

2002-12-19 Thread Mike Hillyer
the quick and helpful responses. Thank you all. Mike Hillyer -Original Message- From: Quentin Bennett [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 5:24 PM To: PHP GENERAL LIST Subject: RE: [PHP] Problem with sessions. Hi, Is your 'other server' identical (Web Server, PHP

RE: [PHP] Problem with sessions.

2002-12-19 Thread Philip Olson
-Original Message- From: Quentin Bennett [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 19, 2002 5:24 PM To: PHP GENERAL LIST Subject: RE: [PHP] Problem with sessions. Hi, Is your 'other server' identical (Web Server, PHP Version, register_globals setting)? Quentin

Re: [PHP] Problem with sessions.

2002-12-19 Thread Jason Wong
On Friday 20 December 2002 07:43, Mike Hillyer wrote: Hello All; Please forgive me if I am repeating an often asked question, but I am having a problem with sessions. I simply cannot get them to work. The sample code I provide works on another server perfectly, this is the first page: So

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 14:24 22.11.2002, Andreas Otto spoke out and said: [snip] We have added some new features to a SiteShield protected website which makes it neccessary to use sessions. Although creating the session and the appropriate variables is a server side process

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest, On Friday 22 November 2002 15:05, Ernest E Vogelsinger wrote: The message you see looks disturbing to me - is the session.save_path value actually set to /home/globstag/tmp? Does Apache (or else) have all necessary rights to this directory? _MAYBE_ you're using some mod_rewrite

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Ernest E Vogelsinger
At 15:35 22.11.2002, Andreas Otto spoke out and said: [snip] Well, guess what I did before writing this eMail ;-) That's what I have feared... Every request to the server I experience this strange problem at has to pass the SiteShield server. Is it

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi Ernest, On Friday 22 November 2002 16:11, Ernest E Vogelsinger wrote: Is it possible to have SiteShield log what its doing? The question is now: Has anyone heard about or had problems with the combination of PHP SiteShield and InternetExplorer? I don't know anything about SiteShield -

Re: [PHP] Problem with sessions

2002-11-12 Thread rija
maybe you should remove the dot before the session path or do like this : session.save_path = C:\PHP\sessions\tmp - Original Message - From: Charlie Fowler [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, November 13, 2002 10:19 AM Subject:

Re: [PHP] Problem with sessions

2002-11-12 Thread Ernest E Vogelsinger
At 00:19 13.11.2002, Charlie Fowler said: [snip] .c:/php/sessions/tmp .c:/php/sessions/tmp open(.c:/php/sessions/tmp\sess_fa42372dcdbde0e457309f134d71827f, O_RDWR) failed: Invalid argument (22) in C:\Program Files\Apache

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
On Sat, 16 Mar 2002, Edward van Bilderbeek - Bean IT wrote: maybe you better use: session_unregister(counter); I've put that, but it doesn't run. As you can see in the URLs below, my code is: if ($id == logout) { // the user wants logout :( session_unregister(counter); }

Re: [PHP] Problem with sessions.

2002-03-17 Thread Tom Rogers
hi If you put: ? session_start(); as the first line on your page it will behave as you want I think. Tom At 08:41 PM 17/03/2002, Carlos Costa Portela wrote: On Sat, 16 Mar 2002, Edward van Bilderbeek - Bean IT wrote: maybe you better use: session_unregister(counter); I've

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
On Sun, 17 Mar 2002, Tom Rogers wrote: hi If you put: ? session_start(); as the first line on your page it will behave as you want I think. Thank you very much. It runs now ok :-). But I don't understand why, if I call session_destroy(), the system remember the value of the

Re: [PHP] Problem with sessions.

2002-03-17 Thread Tom Rogers
Hi As you had not started a session at that point there was none to destroy or unregister :) Tom At 11:53 PM 17/03/2002, Carlos Costa Portela wrote: On Sun, 17 Mar 2002, Tom Rogers wrote: hi If you put: ? session_start(); as the first line on your page it will behave as you want

Re: [PHP] Problem with sessions.

2002-03-17 Thread Carlos Costa Portela
On Mon, 18 Mar 2002, Tom Rogers wrote: Hi As you had not started a session at that point there was none to destroy or unregister :) Ok!!!. Thank you very much, Carlos. http://www.tertulandia.com : sea cual sea tu tema... allí está tu sitio! ___Carlos Costa

Re: [PHP] Problem with sessions.

2002-03-16 Thread Tom Rogers
Hi When you create the new session give it a different name. Tom At 01:49 AM 17/03/2002, Carlos Costa Portela wrote: Hello all: I am playing with sessions and I have a problem with the session_destroy() function. If I do a session_register() after calling it, the session

Re: [PHP] Problem with sessions.

2002-03-16 Thread Edward van Bilderbeek - Bean IT
maybe you better use: session_unregister(counter); Greets, Edward - Original Message - From: Carlos Costa Portela [EMAIL PROTECTED] To: php-general mailing list [EMAIL PROTECTED] Sent: Saturday, March 16, 2002 4:49 PM Subject: [PHP] Problem with sessions. Hello all: I am playing

RE: [PHP] problem reading sessions

2002-01-04 Thread Johnson, Kirk
Is register_globals set to 'on' in php.ini? It needs to be for this coding style to work. Kirk -Original Message- From: Alastair [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 1:41 PM To: [EMAIL PROTECTED] Subject: [PHP] problem reading sessions I have just

Re: [PHP] problem reading sessions

2002-01-04 Thread Kevin Stone
I'll add if you do not have register_globals set then you can access the variable by its long name, $HTTP_SESSION_VARS[blah]. -Kevin Is register_globals set to 'on' in php.ini? It needs to be for this coding style to work. Kirk -Original Message- From: Alastair [mailto:[EMAIL

Re: [PHP] problem reading sessions

2002-01-04 Thread Alastair
I get the error: 'Warning: Undefined index: blah' when I use the long name. As far as I can tell it doesn't seem to be actually writing the data into the session file. Am I missing a crucial step somewhere? alastair Kevin Stone [EMAIL PROTECTED] wrote in message 003401c19563$95ee2e00$[EMAIL

Re: [PHP] problem reading sessions

2002-01-04 Thread R'twick Niceorgaw
04, 2002 4:35 PM Subject: Re: [PHP] problem reading sessions I get the error: 'Warning: Undefined index: blah' when I use the long name. As far as I can tell it doesn't seem to be actually writing the data into the session file. Am I missing a crucial step somewhere? alastair Kevin Stone

Re: [PHP] problem reading sessions

2002-01-04 Thread Alastair
04, 2002 4:35 PM Subject: Re: [PHP] problem reading sessions I get the error: 'Warning: Undefined index: blah' when I use the long name. As far as I can tell it doesn't seem to be actually writing the data into the session file. Am I missing a crucial step somewhere? alastair Kev