On 3/25/2011 12:09 PM, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP changed
from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read variables, c
On 3/25/2011 12:09 PM, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP changed
from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read variables, c
On 3/25/2011 12:09 PM, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP changed
from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read variables, c
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
wrote:
> I've fixed the problem.
> I don't know why, but suddenly windows prevents PHP from writing into
> C:\windows\temp directory.
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.
""W
Shawn McKenzie írta:
Horváth Károly wrote:
Hi,
I have a very strange problem.
I am the new developer of an existing site. They have a custom session
handler that stores the session in the database. The application
connects to the database, registers the session handler with
session_set_save_
Horváth Károly wrote:
> Hi,
>
> I have a very strange problem.
> I am the new developer of an existing site. They have a custom session
> handler that stores the session in the database. The application
> connects to the database, registers the session handler with
> session_set_save_handler. Noth
At 11:31 PM -0400 7/9/09, D.M.Jackson wrote:
Hi,
OK, I did a count on the session.inc file and there appears to be 37
variables accessed through the $_SESSION object. By and large they all
appear to be scalar variables that contain a counter or a path or a boolean.
Nothing that looks like a
I prefer to reduce SESSION usage as much as possible. but I dont hesitate to
use them if need arises.
Points to note
- Execution time: Only session_id is stored on the client's computer, and
the actual data is stored on the server. so it will take nearly same time to
process 100 session v
Hi,
OK, I did a count on the session.inc file and there appears to be 37
variables accessed through the $_SESSION object. By and large they all
appear to be scalar variables that contain a counter or a path or a boolean.
Nothing that looks like a big object. Mostly stuff like" MaxDisplayR
At 7:30 PM -0400 7/8/09, D.M.Jackson wrote:
Thanks guys. I was just wondering if it was common practice to pass all
those variables in the SESSION object or if I was following a bad example
because it was the first time that I had seen so many variables passed this
way. If this is the typical w
On Wed, Jul 08, 2009 at 06:55:24PM -0500, Shawn McKenzie wrote:
> D.M.Jackson wrote:
> > Thanks guys. I was just wondering if it was common practice to pass all
> > those variables in the SESSION object or if I was following a bad example
> > because it was the first time that I had seen so many
D.M.Jackson wrote:
> Thanks guys. I was just wondering if it was common practice to pass all
> those variables in the SESSION object or if I was following a bad example
> because it was the first time that I had seen so many variables passed this
> way. If this is the typical way of handling t
Thanks guys. I was just wondering if it was common practice to pass all
those variables in the SESSION object or if I was following a bad example
because it was the first time that I had seen so many variables passed this
way. If this is the typical way of handling this in php then I don't hav
Shawn McKenzie wrote:
D.M.Jackson wrote:
Hi,
I'm trying to learn php mostly by reading the docs and pulling through
other peoples projects for reference examples. One particular application
I'm looking at has a ton of variables being handled through the SESSION
global variable, probab
D.M.Jackson wrote:
> Hi,
>
> I'm trying to learn php mostly by reading the docs and pulling through
> other peoples projects for reference examples. One particular application
> I'm looking at has a ton of variables being handled through the SESSION
> global variable, probably about 25 or
Paul M Foster wrote:
I'm not too clear on HTTP headers, cookies, and such. So here are
questions related to that. Let's say I generate a random number that I
want the user to enter in a form. When I generate the number, I store it
in a session variable ($_SESSION). When the user submits the form,
thanks got it fixed:
if (!empty($_POST['UserName']) && !empty($_POST['Password'])) {
$UserName = $_POST['UserName'];
$Password = $_POST['Password'];
} *<---was missing a curly bracket..oi syntax*
$msg = '';
if (!empty($UserName)) {
$sql = "SELECT `AdminID`,`UserName` FROM `admin` WHE
On Fri, Jan 30, 2009 at 5:44 PM, Shawn McKenzie wrote:
> Terion Miller wrote:
> > Well I changed it because it's not a post since its not coming from a
> form
> > is this closer?
> >
> > if (!empty($UserName)) {
> >
>
> Why are you doing this? Only to see if > 0 rows are returned? You can
> use
Terion Miller wrote:
> Well I changed it because it's not a post since its not coming from a form
> is this closer?
>
> if (!empty($UserName)) {
>
Why are you doing this? Only to see if > 0 rows are returned? You can
use the results you know.
> $sql = "SELECT `AdminID`,`UserName` FROM `adm
Well I changed it because it's not a post since its not coming from a form
is this closer?
0) {
$_SESSION['AdminLogin'] = true;
$_SESSION['user']=$UserName;
$_SESSION['AdminID']=$AdminID;
header ('Location: Main.php');
exit;
} else {
On Fri, Jan 30, 2
Micah Gersten wrote:
> You really should get up to speed on PHP 5.
Micah Gersten wrote:
I was referring to Nathan's examples which you cut out of the post.
function save_to_session( ) {
global $userids , $first , $last;
$_SESSION['user_id'] = &$userids;
$_SESSION['first_name'] = &$first;
$
I was referring to Nathan's examples which you cut out of the post.
> function save_to_session( ) {
> global $userids , $first , $last;
> $_SESSION['user_id'] = &$userids;
> $_SESSION['first_name'] = &$first;
> $_SESSION['last_name']= &$last;
> }
Thank you,
Micah Gersten
onShore Networks
Inte
At 11:14 AM -0500 10/2/08, Micah Gersten wrote:
You really should get up to speed on PHP 5.
Yeah, I'll be sure to tell me clients that.
Sometimes you don't have a choice -- you have to work with what they got.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://ea
Nathan Rixham wrote:
> tedd wrote:
>> At 3:41 PM -0400 10/1/08, tedd wrote:
What about:
foreach ($_SESSION['user_id'] as $key => $value)
{
$last = $_SESSION['last_name'][$key];
$first = $_SESSION['first_name'][$key];
echo "$last, $first";
}
>>>
Jim Lucas wrote:
Jim Lucas wrote:
tedd wrote:
At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
[tested - works]
-snip-
?>
regards! nathan :)
I need to re-address this.. tedd your original code works fine over
here; as does the code I sent you, and the code jay submitted first..
do us a favour
Jim Lucas wrote:
> tedd wrote:
>> At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
[tested - works]
-snip-
?>
regards! nathan :)
>>> I need to re-address this.. tedd your original code works fine over
>>> here; as does the code I sent you, and the code jay submitted first..
>>>
>
tedd wrote:
> At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
>>> [tested - works]
>>> -snip-
>>> ?>
>>> regards! nathan :)
>>
>> I need to re-address this.. tedd your original code works fine over
>> here; as does the code I sent you, and the code jay submitted first..
>>
>> do us a favour, copy a
Andrew Ballard wrote:
> On Thu, Oct 2, 2008 at 10:37 AM, tedd <[EMAIL PROTECTED]> wrote:
>
>> To all:
>>
>> The code provided by nathan works for me as well. However, the problem is
>> not easily explained, but I can demonstrate it -- try this:
>>
>> http://www.webbytedd.com/zzz/index.php
>>
>
>>>
>>> Much as it pains me to ask this, you don't have REGISTER_GLOBALS on, do you?
>>>
>>> Jay
>>>
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
>> It must be. I just ran tedd's example in both scenarios.
>>
>> W
Jay Moore wrote:
tedd wrote:
At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
[tested - works]
-snip-
?>
regards! nathan :)
I need to re-address this.. tedd your original code works fine over
here; as does the code I sent you, and the code jay submitted first..
do us a favour, copy and past
tedd wrote:
At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
[tested - works]
-snip-
?>
regards! nathan :)
I need to re-address this.. tedd your original code works fine over
here; as does the code I sent you, and the code jay submitted first..
do us a favour, copy and paste exactly what I j
On Thu, Oct 2, 2008 at 10:37 AM, tedd <[EMAIL PROTECTED]> wrote:
> To all:
>
> The code provided by nathan works for me as well. However, the problem is
> not easily explained, but I can demonstrate it -- try this:
>
> http://www.webbytedd.com/zzz/index.php
>
> * A complete listing of the code foll
At 11:10 PM +0100 10/1/08, Nathan Rixham wrote:
[tested - works]
-snip-
?>
regards! nathan :)
I need to re-address this.. tedd your original code works fine over
here; as does the code I sent you, and the code jay submitted first..
do us a favour, copy and paste exactly what I just handed th
tedd wrote:
At 3:41 PM -0400 10/1/08, tedd wrote:
What about:
foreach ($_SESSION['user_id'] as $key => $value)
{
$last = $_SESSION['last_name'][$key];
$first = $_SESSION['first_name'][$key];
echo "$last, $first";
}
Jay:
Close, it produced:
Array, Array
Array, Array
Array, Array
Nathan Rixham wrote:
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] => Array
(
[0] => 6156
[1] => 7
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] => Array
(
[0] => 6156
[1] => 7030
[2] =>
At 3:41 PM -0400 10/1/08, tedd wrote:
What about:
foreach ($_SESSION['user_id'] as $key => $value)
{
$last = $_SESSION['last_name'][$key];
$first = $_SESSION['first_name'][$key];
echo "$last, $first";
}
Jay:
Close, it produced:
Array, Array
Array, Array
Array, Array
At 2:40 PM -0500 10/1/08, Shawn McKenzie wrote:
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] => Array
(
Shawn McKenzie wrote:
> tedd wrote:
>> Hi gang:
>>
>> Apparently, there's something going on here that I don't understand --
>> this happens far too often these days.
>>
>> Here's a print_r($_SESSION); of the session arrays I'm using:
>>
>> [user_id] => Array
>> (
>> [0] =>
tedd wrote:
>> What about:
>>
>> foreach ($_SESSION['user_id'] as $key => $value)
>> {
>> $last = $_SESSION['last_name'][$key];
>> $first = $_SESSION['first_name'][$key];
>> echo "$last, $first";
>> }
>
> Jay:
>
> Close, it produced:
>
> Array, Array
> Array, Array
> Array, Array
>
> Ch
On Wed, 2008-10-01 at 15:41 -0400, tedd wrote:
> >What about:
> >
> >foreach ($_SESSION['user_id'] as $key => $value)
> >{
> > $last = $_SESSION['last_name'][$key];
> > $first = $_SESSION['first_name'][$key];
> > echo "$last, $first";
> >}
>
> Jay:
>
> Close, it produced:
>
> Array,
tedd wrote:
> Hi gang:
>
> Apparently, there's something going on here that I don't understand --
> this happens far too often these days.
>
> Here's a print_r($_SESSION); of the session arrays I'm using:
>
> [user_id] => Array
> (
> [0] => 6156
> [1] => 7030
What about:
foreach ($_SESSION['user_id'] as $key => $value)
{
$last = $_SESSION['last_name'][$key];
$first = $_SESSION['first_name'][$key];
echo "$last, $first";
}
Jay:
Close, it produced:
Array, Array
Array, Array
Array, Array
Cheers,
tedd
--
---
http://sperlin
tedd wrote:
Hi gang:
Apparently, there's something going on here that I don't understand --
this happens far too often these days.
Here's a print_r($_SESSION); of the session arrays I'm using:
[user_id] => Array
(
[0] => 6156
[1] => 7030
[2] =>
You're absolutely right, but the problem is not about how the SID is passed between the scripts, it is more about why some
variables are written in the session file while others are not, even when these variables are created within the same script at
the same time. If the SID was not correctly
karma wrote:
Hi,
Ted & Fabrice, thanks for your answers.
Sessions variables are only stored in a local file. The dir permissions
are ok, and I've tried to store these files in another dir
(/var/tmp/php) just to check.
The session id is transmitted via cookies only :
session.use_cookies =
karma wrote:
Hi,
Ted & Fabrice, thanks for your answers.
Sessions variables are only stored in a local file. The dir permissions
are ok, and I've tried to store these files in another dir
(/var/tmp/php) just to check.
The session id is transmitted via cookies only :
session.use_cookies =
> Then the errors sometimes occur in my apache2/ssl_error_log (undefined
> index in $_SESSION variable). When I check the sess_12345789... file,
> some of the variables are missing : $_SESSION["a"] and ["b"] are there,
> but not $_SESSION["c"], even an empty one, it is just gone. That's all I
> kno
Hi,
Ted & Fabrice, thanks for your answers.
Sessions variables are only stored in a local file. The dir permissions are ok, and I've tried to store these files in another
dir (/var/tmp/php) just to check.
The session id is transmitted via cookies only :
session.use_cookies = 1
session.use_o
At 1:48 PM +0200 7/6/08, Fabrice VIGNALS wrote:
Difficult to help you because there are many method of session :
- where do you store the sessions_variables : in local file, db or cookie ?
- how you transmit the session id, beetween
pages(runtimes) : cookie, $GET link, database ?
Did you che
Difficult to help you because there are many method of session :
- where do you store the sessions_variables : in local file, db or cookie ?
- how you transmit the session id, beetween pages(runtimes) : cookie, $GET
link, database ?
Did you check the availability of user cookie if you use it
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]
Sent: 10 March 2008 18:23
To: php-general@lists.php.net
Subject: [PHP] Re: SESSION Array problem - possibly different PHP versions?
Put a print_r($_SESSION) at the top and bottom of your page code so you can
see
what's happ
Put a print_r($_SESSION) at the top and bottom of your page code so you can see
what's happening.
Also check your code that updates the session assignment by the GET value. It
appears your code maybe unset()ing the session assignments.
Are you using Cookies? If so, check this code carefully
Adil Drissi wrote:
> Well, i'm doing all that. Maybe something is wrong in
> my code. I'll arrange my code in a way that it will be
> easy to run and i'll post it. I think like that,
> you'll see by yourself and you gonna help to fix that
> for sure.
>
> Thank you
> --- Shawn McKenzie <[EMAIL PROT
Well, i'm doing all that. Maybe something is wrong in
my code. I'll arrange my code in a way that it will be
easy to run and i'll post it. I think like that,
you'll see by yourself and you gonna help to fix that
for sure.
Thank you
--- Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Adil Drissi wrote
Adil Drissi wrote:
> Hi everybody,
>
> I need help with sessions.
> I have a simple authentification relying only on
> sessions (i don't use cookies). After the user submits
> his username and password, the script checks if that
> corresponds to a record in a mysql table. If this is
> the case "$_
Nevermind... I don't know what the problem is yet but it's not the
folder.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edward Vermillion wrote:
And the session id is open to being stored in a bookmark or worse, sent
to someone else through a cut and paste of the URL.
Depending on what information that id controls and how long the sessions
are kept around id's in the URL could be a very bad thing indeed.
Agr
On May 10, 2007, at 11:40 AM, Richard Davey wrote:
[EMAIL PROTECTED] wrote:
That being the case I can never find out (using the built-in
sessions) until the second page request and it will always
include the session cookie in the URL. Which means the value
of the seesion cookie will be expos
[EMAIL PROTECTED] wrote:
That being the case I can never find out (using the built-in
sessions) until the second page request and it will always
include the session cookie in the URL. Which means the value
of the seesion cookie will be exposed, even if I am using SSL.
:( Back to the drawing bo
Mike,
Thanks for the super clear explanation.
This brings up a question. In order to decide whether to use
cookies or SID the built-in sessions must be testing to see if
the user's browser will accept the session cookies. How do
they do that?
By sending it out and checking to see whether
On 09 May 2007 16:36, [EMAIL PROTECTED] wrote:
> Ford, Mike writes:
>
> > > > You can also set up php.ini and use the built-in sessions with
> > > > http://php.net/session_start so that PHP will take care of this
> > > > for you.
> > >
> > > That is what I was intending to do. How do I find out
On Wed, May 9, 2007 10:36 am, [EMAIL PROTECTED] wrote:
> This brings up a question. In order to decide whether to use cookies
> or SID the built-in sessions must be testing to see if the user's
> browser will accept the session cookies. How do they do that?
The same way you would do it.
Actuall
Ford, Mike writes:
> You can also set up php.ini and use the built-in sessions with
> http://php.net/session_start so that PHP will take care of this for
> you.
That is what I was intending to do. How do I find out if
whether or not the session cookie was accepted using the
built-in sessio
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 08 May 2007 20:57
> > You can also set up php.ini and use the built-in sessions with
> > http://php.net/session_start so that PHP will take care of this for
> > you.
>
> That is what I was intending to do.
On Tue, May 8, 2007 5:50 pm, itoctopus wrote:
> setcookie("cookie_name", "value");
> //redirect to another page using header
> header("location:".$your_url);
This will fail on some legacy browsers, if you need legacy browser
support.
In *MOST* architectures, your visitor can be given the cookie o
On Tue, May 8, 2007 2:56 pm, [EMAIL PROTECTED] wrote:
> Richard Lynch writes:
>> Send one cookie, see if it comes back, and if it does, tie
>> everything to that cookie.
>
> OK. So how do I see if it comes back?
if (isset($_COOKIE['foo'])){
//cookie came back
}
else{
//cookie did NOT come bac
setcookie("cookie_name", "value");
//redirect to another page using header
header("location:".$your_url);
//check in $your_url for the presence for the cookie
if ($_COOKIE["cookie_name"] == "value"){
//cookies are enabled - add your code
}
else{
//cookies are disabled - add your code
}
Ho
Richard Lynch writes:
How does one check to see if the user's browser accepts
session cookies?
Apparently I should have said cookie and left off the 's' as
that is what I had in mind.
Send one cookie, see if it comes back, and if it does, tie
everything to that cookie.
OK. So how do I se
http://www.sitepoint.com/article/users-php-sessions-mysql
--
itoctopus - http://www.itoctopus.com
"uni uni" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> im trying to make a forum for my school assignment, its done and work
well, but i want to make session where it is readonly for
"Mark" wrote in message
news:[EMAIL PROTECTED]
> Gunter Sammet wrote:
>
>> Hi all:
>> I inherited an application using PHP 5.1.4 with MySQL 4.1.20,
>> Apache/2.0.46 (Red Hat) on a VPS server with Plesk 7.5. The
>> authentication
>> used to work just fine till yesterday. Now it doesn't authentic
Gunter Sammet wrote:
> Hi all:
> I inherited an application using PHP 5.1.4 with MySQL 4.1.20,
> Apache/2.0.46 (Red Hat) on a VPS server with Plesk 7.5. The authentication
> used to work just fine till yesterday. Now it doesn't authenticate
> anymore. My debugging so far hasn't revelaed much. It s
ORIGINAL #
I have an "index.php" page which does not user session_start(); command.
However in this "index.php" page, there are some $_SESSION['...']; variables
stored.
How is it possible that $_SESSION['...']; works even if no session has been
created before ?
moreover, if i use a print
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 p
Don't be sorry, that's not what I meant. The fields are completed by the
user, they submit and the cleaned and validated values are put into the
session. So when they go back their entered values are displayed. I made
sure of it by making sure these pages are never cached.
That issue is resolved.
On Thu, August 17, 2006 12:56 pm, Dave Goodchild wrote:
>> How does the user "go back one page"? If it by using the browser's
>> back-button, the php script has no way of knowing it.
>
> Yes, but the session variables have already been set, and are
> configured to
> display in the form fields.
Ah
Dave Goodchild wrote:
Hi all, I am currently writing a web application that has a 3-stage form
process as part of its functionality. The values passed in are placed in
the
session array after validation and once the user has completed and supplied
all required values the relevant session values
On Thu, 2006-08-17 at 19:19 +0100, Dave Goodchild wrote:
> Trust me, there is far too much code to include. The problem is simple. The
> app contains a 3-page form cycle that reloads itself, progressing from stage
> 1-3 and populating the session array as values are validated and cleaned.
> When th
Trust me, there is far too much code to include. The problem is simple. The
app contains a 3-page form cycle that reloads itself, progressing from stage
1-3 and populating the session array as values are validated and cleaned.
When the process is complete, the values held in the session array are
Dave Goodchild wrote:
On 17/08/06, John Nichel <[EMAIL PROTECTED]> wrote:
Dave Goodchild wrote:
>>
>>
>> How does the user "go back one page"? If it by using the browser's
>> back-button, the php script has no way of knowing it.
>
>
>
> Yes, but the session variables have already been set, and
Dave Goodchild wrote:
How does the user "go back one page"? If it by using the browser's
back-button, the php script has no way of knowing it.
Yes, but the session variables have already been set, and are configured to
display in the form fields.
All the session variables in the world a
On 17/08/06, John Nichel <[EMAIL PROTECTED]> wrote:
Dave Goodchild wrote:
>>
>>
>> How does the user "go back one page"? If it by using the browser's
>> back-button, the php script has no way of knowing it.
>
>
>
> Yes, but the session variables have already been set, and are configured
to
> di
How does the user "go back one page"? If it by using the browser's
back-button, the php script has no way of knowing it.
Yes, but the session variables have already been set, and are configured to
display in the form fields.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Dave Goodchild wrote:
Dave Goodchild wrote:
Hi all, I am currently writing a web application that has a 3-stage form
process as part of its functionality. The values passed in are placed in
the
session array after validation and once the user has completed and supplied
all required values the r
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://ww
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:
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 beha
Well Do you have folder called tmp in your root?
ThePanister!
"Tom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Does some well-known problem exist with the session variables in Windows
> servers?
> Because in a system that I have running on a Windows server, sometimes th
On Thu, April 20, 2006 11:05 pm, Chuck Anderson wrote:
> As to session save path, when I run phpinfo (at my remote Linux
> server)
> it tells me that it is set to "no value." This means it would default
> to
> /tmp. Where is this tmp directory? I have looked at the tmp directory
> that is one level
Hi Chuck,
Glad this discussion has been of use to you. I can't help much with
where your /tmp directory might be. if you echo session_save_path()
it should tell you where your session cookies are being saved to on
your server.
I have read recommendations that you set a different path for
This has been a very interesting discussion, as I have had the same
"problem," but never thought much about the fact that I could do
anything about it.
As to session save path, when I run phpinfo (at my remote Linux server)
it tells me that it is set to "no value." This means it would default
João Cândido de Souza Neto wrote:
> Hi everyone.
>
> I hope someone here can help me.
>
> When i start a session in a php page, this session receives an unique id.
>
> If you think about this, if i call a session_destroy() in any page and in
> the other paga call a session_start() again, it'll
U, is your top.php code being printed AT ALL? Because in the code
you gave us, you're attempting to include "topo.php".
HTH,
John
On 3/21/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote:
> tedd wrote:
>
> > Hi:
> >
> > I hate this.
> >
> >>Ok guy, don't fight with me. hehehe
> >>
> >
João Cândido de Souza Neto wrote:
Chris Shiflett wrote:
João Cândido de Souza Neto wrote:
Show us the code.
... Some codes ...
That doesn't count. :-)
You're describing a situation that I seriously doubt is reflected in
your code. Reduce the problem to the simplest example you possibly can,
Hi:
I hate this.
Ok guy, don't fight with me. hehehe
Follow's all code of files.
Yeah ! Where's "rodape.php" ?
If we're going to spend our time looking at your code, shouldn't you
spend the time to provide all of it?
tedd
--
--
Shaunak Kashyap wrote:
>> -Original Message-
>> From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, March 21, 2006 11:26 AM
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] Re: session vars
>>
>> This cod
> -Original Message-
> From: João Cândido de Souza Neto [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 21, 2006 11:26 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Re: session vars
>
> This code's exactly the one that produce the error.
Chris Shiflett wrote:
> João Cândido de Souza Neto wrote:
>> > Show us the code.
>>
>> ... Some codes ...
>
> That doesn't count. :-)
>
> You're describing a situation that I seriously doubt is reflected in
> your code. Reduce the problem to the simplest example you possibly can,
> and then sho
João Cândido de Souza Neto wrote:
> Show us the code.
... Some codes ...
That doesn't count. :-)
You're describing a situation that I seriously doubt is reflected in
your code. Reduce the problem to the simplest example you possibly can,
and then show us the code.
Chris
--
PHP General Ma
1 - 100 of 357 matches
Mail list logo