I've fixed the problem.
I don't know why, but suddenly windows prevents PHP from writing into
C:\windows\temp directory.
Moving the session and log files to another directory solved the problem.
Until few days ago it worked. I've now to discovered what was changed in
windows configuration.
Walter,
Session variables may be using cookies which in turn create temp files for
storing such cookies.
Ravi.
On Tue, Dec 21, 2010 at 11:32 AM, Walter Caielli
walter.caie...@ars21.netwrote:
I've fixed the problem.
I don't know why, but suddenly windows prevents PHP from writing into
Also, make sure the session's are being saved properly. I had this same
problem when PHP wasn't able to write to the temp directory. You can set up
your own sessions dir with
session.save_path
in php.ini
LoneWolf [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am having a problem
weetat schrieb:
Hi all,
I have 2 php page , whenever i click the submit in 1st page , the
$_SESSION['LIST_OF_DATA'] display nothing in the 2nd page.
If i do echo print_r($_SESSION['LIST_OF_DATA']) in first page , it
displayed the data correctly.
Anybody have any ideas why php session
yes i am
Thank for you help
Barry wrote:
weetat schrieb:
Hi all,
I have 2 php page , whenever i click the submit in 1st page , the
$_SESSION['LIST_OF_DATA'] display nothing in the 2nd page.
If i do echo print_r($_SESSION['LIST_OF_DATA']) in first page , it
displayed the data correctly.
weetat schrieb:
Let me take a guess:
Your FORM action is action=http://
Barry
yes i am
Thank for you help
Ookay ... no problem ... probably .
Barry
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)
--
PHP General Mailing List (http://www.php.net/)
I have a problem with sessions. If someone closes their internet explorer
window without logging off the session remains open. When you try to go
back to the site IE hangs until I manually remove the sess_ files from
the /tmp directory. Any insights on this one??
VR/Tim
* Thus wrote Nadim Attari:
I have a problem with sessions. If someone closes their internet explorer
window without logging off the session remains open. When you try to go
back to the site IE hangs until I manually remove the sess_ files from
the /tmp directory. Any insights on
:-) cool thank you!
is any $_-variable superglobal? $_REQUEST, $_POST, ...?
cheers,
jazper
Curt Zirzow [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
Probably i got the problem... but i don't know how to solve it!!!
i
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
:-) cool thank you!
is any $_-variable superglobal? $_REQUEST, $_POST, ...?
Correct.
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Probably i got the problem... but i don't know how to solve it!!!
i include one of my class.
in the constructor of this class i did a global...
global $_SESSION;
as soon as i delete that line. my script works perfect...
is this not allowed anymore... to access $_SESSION in a constructor??
* Thus wrote Juerg Zgraggen ([EMAIL PROTECTED]):
Probably i got the problem... but i don't know how to solve it!!!
i include one of my class.
in the constructor of this class i did a global...
global $_SESSION;
as soon as i delete that line. my script works perfect...
is this not
Do not echo $query or any output before session_start(); or
session_register(xxx); (mean headers)
//echo $query
Or may be you can put ob_start(); before first output and put
ob_end_flush(); after last headers
ob_start();
echo $query
.
.
//your code.
.
.
session_register(ses_level);
I don't normally have problem with using session functions on the Win2000
Server using IIS 5. It work pretty well. You may will want to narrow down
the problem and find out if it is a session problem only or if it is
something else. I don't use some of the IIS patches like the IIS Lockdown
as
I am using session_start() and
session_register(variablename) . The when I click on
the back button from the browser it shows me the
following error: Warning: Page has Expired The page
you requested was created using information you
submitted in a form. This page is no longer available.
All you have to do is to call
session_name(EmailSess);
session_start();
in rest of pages.
BTW: You don't really need to call session_name()
Manisha [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I am facing so many problems - first file lock and now for
Warning: Cannot send session cache limiter - headers already sent
(output started at /path/to/my/little/session.inc:9) in
/path/to/my/little/session.inc on line 10
this means that there is output before session_start() was called.
look at your include files, and make sure that there is no
I have the same problem... I thought it was for a different reason... If you
got a solution please email me !!!
Bob [EMAIL PROTECTED] escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
1.php?2.php
session_start();
Register the variable whether it exists or not.
?php
session_start();
session_register('count');
if (!isset($count)){
$count = 0;
}
$count++;
echo You have visited this page $count times.BR\n;
?
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
19 matches
Mail list logo