[PHP] problem with sessions config.

2008-03-21 Thread N . Boatswain
Hello guys; i'm having a problem with session behavior; i'm going straight to it, but first some considerations: PHP Version 5.2.5IIF 5.1Running on localhost (XP machine)I start sessions at the top of every page. A the start of a test page, just as example, i do the assignment:

[PHP] Problem with sessions.

2008-01-13 Thread Balasubramanyam A
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 control move to if block?

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

[PHP] Problem with Sessions

2006-01-24 Thread Barry
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. Not the whole session

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'] ^

[PHP] Problem with sessions

2004-08-26 Thread gregosh
I am using a 4.3.2. version of PHP on Apache 1.3 Win2k. Here's the problem I've come across - when I jump from a page a.php to b.php using a href=b.phpclick here/a statement the sessions work fine but when I use PHP's header(location: b.php); expression a new session is created and the data from

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://; .

[PHP] Problem with Sessions

2004-02-19 Thread Sheni R. Meledath
Hello: Session is not working in PHP script file when executed through the browser IE 5.0 on Windows 2000 platform. In IE latest versions the script is working fine. Does anybody have any solution or report related to this. PHP version on the server is 4.3. Sheni R Meledath [EMAIL PROTECTED]

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

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

2003-08-17 Thread anders thoresson
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 system, disabled at remote. Before I changed anything

[PHP] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: ?php session_start(); session_register( aUser, aAccount ); $aUser = Cidnie; $aAccount = 1016; ? But when I conect to website I get this warning message: Warning: session_start():

[PHP] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: ?php session_start(); session_register( aUser, aAccount ); $aUser = Cidnie; $aAccount = 1016; ? But when I conect to website I get this warning message: Warning: session_start():

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

[PHP] Problem with sessions expiring?

2003-03-14 Thread Mallen Baker
Hi I have a process for people to apply for awards online. The login is controlled using sessions, with a basic session variable set with the username of the person logged in. In PHP ini the session cookie lifetime is set to 0 - ie. until the browser session finishes. Manyof the applicants

Re: [PHP] Problem with sessions expiring?

2003-03-14 Thread CPT John W. Holmes
: Mallen Baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 14, 2003 10:59 AM Subject: [PHP] Problem with sessions expiring? Hi I have a process for people to apply for awards online. The login is controlled using sessions, with a basic session variable set with the username

[PHP] Problem with sessions

2003-02-18 Thread Sidar Lopez Cruz
I have RedHat 8, Apache 2, PHP 4.2.2 My problem is with sessions, 1. page -index.html- html body form name=frmlogin method=post action=login.php input type=text name=txtlogin input type=text name=txtpassword input type=submit name=Click /form /body /html 2. page -login.php- ?php

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

[PHP] Problem with sessions.

2002-12-19 Thread Mike Hillyer
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: ?PHP session_start(); session_register(name,pass); $name =

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

[PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
Hi, 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 there seem to be problems with IE (tested with version 6 on Win2000 Pro and WinXP Pro). If I

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
: [PHP] Problem with sessions Hi all,, Can some one help me with this little issue ... I am trying out some prewritten scripts curtesy of SAMS PHP and MYSQL Web Development, Ch24 - User Authenication Personalisation on my server setup The Configuartion for my development environment is Apache

[PHP] Problem with sessions

2002-11-12 Thread Charlie Fowler
Hi all,, Can some one help me with this little issue ... I am trying out some prewritten scripts curtesy of SAMS PHP and MYSQL Web Development, Ch24 - User Authenication Personalisation on my server setup The Configuartion for my development environment is Apache 2.39, Win 2000, PHP 4.2.3

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

[PHP] Problem with sessions.

2002-05-13 Thread Ben Edwards
I am using sessions for holding who is logged in and it is kind of working. I have got a few emails from customers saying they cant log in (and seeing as we have had less than 30 orders this is a real problem). I can log in OK and cant recreate this problem. Any ideas regarding what this

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

[PHP] Problem with sessions.

2002-03-16 Thread Carlos Costa Portela
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 recover the previous values (values that I supposed forgot by the session). At

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

[PHP] problem reading sessions

2002-01-04 Thread Alastair
I have just recently set up PHP on my Win2K laptop and I have just found out that I can't read sessions. As far as I can tell the session file is being created, but PHP doesn't seem to be able to get any data into it. Here is what the session file looks like: !sess_user|!blah| The two PHP

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
PROTECTED]] Sent: Friday, January 04, 2002 1:41 PM To: [EMAIL PROTECTED] Subject: [PHP] problem reading sessions I have just recently set up PHP on my Win2K laptop and I have just found out that I can't read sessions. As far as I can tell the session file is being created

Re: [PHP] problem reading sessions

2002-01-04 Thread Alastair
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 recently set up PHP on my Win2K laptop and I have just found out that I ca

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