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:
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?
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
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
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
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
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
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
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
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']
^
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
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://; .
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]
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
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
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():
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():
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
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
: 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
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
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
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 =
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
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
-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
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
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
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
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
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
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 -
: [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
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
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
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
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);
}
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
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
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
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
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
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
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
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
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
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
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
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
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
50 matches
Mail list logo