Hi,
I got serious problem I need to solve a.s.a.p.
Well, I've developed a database application with PHP and MySql, I used
sessions.
While developing I used my own computer as a web server - Windows 2000 Pro,
IIS 5, PHP 4.2.3 via ISAPI. And all my code was tested successfully while my
computer is
Hi,
I am new to the list so be kind.
I have been messing with PHP 4 on a windows 2000 machine using apache and am
having trouble getting sessions to run.
Even in their basic form, everything I have read is very involved and all I
am trying to do is the basics but it doesn't work.
Can any
on 02/01/03 9:46 AM, Andrew Williams ([EMAIL PROTECTED])
wrote:
I have been messing with PHP 4 on a windows 2000 machine using apache and am
having trouble getting sessions to run.
I'm going to assume PHP 4.1
I'm also going to assume you're allowing cookies on your browser???
Hi,
Justin has made some suggestions below.
But it still doesn't work, I have noticed that in the c:/temp directory
session files have been created.
Does anyone have any other suggestions as to why this is not working
Apache is version Apache/2.0.39 (Win32)
Internet explorer
You don't need to accept cookies for sessions. That's the beauty of it.
PHP automatically appends ?PHPSESSID=$sessid to URLs.
If you do header(Location: abc) however you will need to add the seession ID to the
URL.
You cannot read a session var on the same page that you set it I found.
To get
on 02/01/03 11:42 AM, Michael J. Pawlowsky ([EMAIL PROTECTED]) wrote:
You don't need to accept cookies for sessions. That's the beauty of it.
PHP automatically appends ?PHPSESSID=$sessid to URLs.
only if you compile with trans_sid (he didn't) or if you physically add the
SID to each LINK
eeek, that's a whole lotta code for him to learn just to try and get
sessions working, don't you think??
[mega snip]
Justin
Most it is HTML output... But If I'm not mistaken... and I might be... but wasn't
this a thread that started about securing web pages?
So basically I gave him my
My php.ini file session section looks like this
[snip]
; The path for which the cookie is valid.
session.cookie_path = c:\tmp
On our system, this is /... This is not what you think it is-- this is
the WEB path the cookie is valid for... That is, on our system, the
browser will send the
on 02/01/03 11:55 AM, Michael J. Pawlowsky ([EMAIL PROTECTED]) wrote:
Most it is HTML output... But If I'm not mistaken... and I might be... but
wasn't this a thread that started about securing web pages?
So basically I gave him my solution to it. And I didn't charge the $150/hr
consulting
OK let me give him something simpler to start with
No Cookies needed.. Just to test... Make sure you have session.name set to PHPSESSID.
Look at phpinfo() output to make sure.
Lets have two pages
Page 1 start (page1.php)
Just so I know who started this thread, is he even still in this thread, or is
this just amongst ourselves now.
:-)
Hey sorry, what do you expect on the 1st of January.
Cheers,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I started it and yes I am still here and listing to your comments.
Thanks Justin for keeping things simple for this simpleton.
Ill try your suggestion in a little while Mike, I also at work at the moment
and need to slip some of this stuff in whilst I am working.
I will keep you posted as to
Mike,
This the result
Array ( [theSess] = This is my session )
Andrew
-Original Message-
From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 2 January 2003 12:07
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session Problem
OK let me give him something simpler
OK so sessions are working... cool...
So now you need to track down a your cookie problem.
Start of by setting your browser to ask you to accept all cookies. EVEN session
cookies.
In IE it would be Internet Options-Privacy Tab
Advanced...
Prompt and override defaults...
The take away the
Mike,
results are
Array ( )
Andrew
*** REPLY SEPARATOR ***
OK so sessions are working... cool...
So now you need to track down a your cookie problem.
Start of by setting your browser to ask you to accept all cookies. EVEN
session cookies.
In IE it would be Internet
OK But did your browser ask you if it was ok to set a cookie? (You did do the changes
in privacy)
IE or Netsape (what version)?
Start with a fresh browser.. meaning close all browser windows and the start up your
browser again.
We need to see if the problem is setting the cookie or reading
It appears that it is a problem with the Browser, I did as you suggested and
changed the Privacy Settings Advanced to Override Automatic Cookie Handling
and selected Prompt for both First and third party cookies.
Restarted the browser ie closed all browser windows and restarted IE 6
version
Hi all,
I'm having this strange issue with a remote server. I'm trying to create
a session control for administrative use which works fine in my PC but
once I upload these scripts to that server, it doesn't recognize the
$username $password variables and kick me right into the else{} of
the
Seems like the remote server has register_globals off. You must use
$_GET, $_POST, $_SESSION ...
Cesar Aracena wrote:
Hi all,
I'm having this strange issue with a remote server. I'm trying to create
a session control for administrative use which works fine in my PC but
once I upload these
Is it your register_globals setting?
---John Holmes...
- Original Message -
From: Cesar Aracena [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 2:59 PM
Subject: [PHP] Session Problem
Hi all,
I'm having this strange issue with a remote server. I'm trying
Dear All,
I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and
a local version of Red Hat. Here is the problem: I have a web site that
depends on Session, but the Session ID seems to be regnerated evertime I
refresh the page. I have tried different versions of PHP with
Sorry... session.cookie_domain in php.ini
Make sure you can also write to /tmp
-js
Ferhat Can wrote:
Dear All,
I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and
a local version of Red Hat. Here is the problem: I have a web site that
depends on Session, but the
Try setting the session.domain in your php.ini...
-js
Ferhat Can wrote:
Dear All,
I have a problem and need your help. I use PHP 4.2.3, Apache 1.3.27 and
a local version of Red Hat. Here is the problem: I have a web site that
depends on Session, but the Session ID seems to be regnerated
Sharp [EMAIL PROTECTED]
To: Ferhat Can [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 6:55 PM
Subject: Re: [PHP] Session problem
Sorry... session.cookie_domain in php.ini
Make sure you can also write to /tmp
-js
Ferhat Can wrote:
Dear All,
I have a problem
-
From: Jonathan Sharp [EMAIL PROTECTED]
To: Ferhat Can [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, October 15, 2002 6:55 PM
Subject: Re: [PHP] Session problem
Sorry... session.cookie_domain in php.ini
Make sure you can also write to /tmp
-js
Ferhat Can wrote:
Dear All,
I have
can anyone tell me where my false conf. in php.ini ?
when i change the page it makes a new session ... instead of the
first one ...
cannot remember the first session data ...
here is my infophp:
Session Support enabled
Directive Local Value Master
I am having problems with my sessions.
This function registered my username password and userid in the session no
problem.
function login_chk($username, $password){
global $user_id;
$user_res = mysql_query(SELECT * FROM fan_users WHERE name = '$username'
and password ='$password') or die(Line
h I dunno why but if I returned $data from my function and registered it
out side the function it works fine and yes my session_start() is above my
function
John
I am having problems with my sessions.
This function registered my username password and userid in the session no
problem.
I think this one worked because
if($count ==1){
$user_data = mysql_fetch_row($user_res);
$user_id = $user_data[0]; // --- of this
if(!session_is_registered(user_id)) session_register(user_id);
if(!session_is_registered(username))
Hi,
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.
I've followed the threads on sessions, and discovered, to my horror, that I
was passing the session id through cookies. Attempting to repair this
'problem' has been fun (with 200+ files).
Somehow, the session variables are not passing through once they encounter an
https page. I'm using the
I've followed the threads on sessions, and discovered, to my horror, that I
was passing the session id through cookies. Attempting to repair this
'problem' has been fun (with 200+ files).
Somehow, the session variables are not passing through once they encounter an
https page. I'm using the
PROTECTED]
Subject: Re: [PHP] session problem
You have to set the variables before using session_register().
?php
session_start();
$var = Yo;
session_register(var);
?
If you try registering a variable that has no value, then of course no value
can be carried over to the next page. :o)
Martin
I am storing some values in session variables.
The behavior of the session is pretty unpredictable.
On the first page I begin with:
session_name(aname)
session_start()
session_register(var1,var2)
In another page I check for existing value of session variable var2.
In the next page I have the
. Php. Net
Subject: [PHP] session problem
I am storing some values in session variables.
The behavior of the session is pretty unpredictable.
On the first page I begin with:
session_name(aname)
session_start()
session_register(var1,var2)
In another page I check for existing value of session variable
]
t]On Behalf Of Naintara Jain
Sent: Saturday, July 06, 2002 6:09 PM
To: Php-General@Lists. Php. Net
Subject: [PHP] session problem
I am storing some values in session variables.
The behavior of the session is pretty unpredictable.
On the first page I begin with:
session_name(aname
I am facing so many problems - first file lock and now for session - I
still could not understand how to get the session value in another page. I
am very new to PHP. I tried many many ways to get it
Actually I want to store ID in a session and want to get back this ID in
rest pages. Can you
Hi
I ve a Problem when i try to use sessions. I can do destroy_session() and at
the next time there is session without starting session_start(). I closed
the browser and startet a site which only does: ?php echo $PHPSESSID; ?
and he shows me a session id without having a anything in my
I get this errormessage when trying to make my logon work:
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
line 10 contains: session_start();
It does however seem like I am
On Mon, 15 Apr 2002, Torkil Johnsen wrote:
I get this errormessage when trying to make my logon work:
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
line 10 contains:
.
Janet
- Original Message -
From: Torkil Johnsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 15, 2002 2:07 AM
Subject: [PHP] Session problem
I get this errormessage when trying to make my logon work:
Warning: Cannot send session cache limiter - headers already sent
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a; echo $_SESSION['a'];
$_SESSION['b'] =$b; echo
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a;echo $_SESSION['a'];
$_SESSION['b'] =$b;
Hi Guys,
What does this error means
-
Warning: Cannot send session cookie - headers already sent by (output started at
/home/web/public_html/karthik1.php:7) in /home/web/public_html/karthik1.php on line 35
Warning: Cannot send session cache limiter - headers already sent
On Tuesday, March 19, 2002, at 02:56 PM, karthikeyan wrote:
What does this error means
-
Warning: Cannot send session cookie - headers already sent by (output
started at /home/web/public_html/karthik1.php:7) in
/home/web/public_html/karthik1.php on line 35
Warning:
Hi list,
I've made this script in order to solve the problem with reload button that
I've posted. My idea is to register in a session the id, them check if it
exists, if so don't insert again. But even if I quit the browser the session
persists. Why?? ps: this is an include in the main page
PROTECTED]
Sent: Thursday, February 14, 2002 7:25 PM
Subject: [PHP] session problem
Hi list,
I've made this script in order to solve the problem with reload button that
I've posted. My idea is to register in a session the id, them check if it
exists, if so don't insert again. But even if I
I am getting the folloing error whenever I try to open a session.
Warning: open(/tmp\sess_0929ece4254c982def371c8f1ccd8164, O_RDWR) failed: m (2)
It seems like a permissions issue to me but I do not know where to look for
addressing the problem. I am using apache on win2k.
Thanks,
Frederic
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Freddy blurted
I am getting the folloing error whenever I try to open a session.
Warning: open(/tmp\sess_0929ece4254c982def371c8f1ccd8164, O_RDWR) failed: m (2)
It seems like a permissions issue to me but I do not know where to
Win2k is the same as NT and does, indeed, have permissions. Very different
from *nix permissions but they do exist.
Mike Frazer
Nick Wilson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Freddy
Seems that I had a few php.ini files finally found the right one and changed the
path in it and deleted the others.
Thanks
Nick Wilson wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Freddy blurted
I am getting the folloing error whenever I try to open a session.
Hi,
i am writing a simple postcard-script. I use php 4 sessions and stores the
data in MySql with the sessionid as a unique id for the card.
The problem is - i can´t send more than one card with the same id. I can´t
find any way to get a new session id without closing the browser. In the
manual
();
- Daniel
-Original Message-
From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
Sent: den 16 november 2001 15:40
To: Daniel Alsén
Subject: Re: [PHP] Session problem
I think you can set a new session id using session_start()
so if you need a new id just destroy the old one using
I can't get session variables to work
I know this has been done to death in the past, but I've looked on php.net,
and google for a solution, have tried the suggestions, and seem to fix it.
My php session settings are as follows:
NameLocal Global settings
Try
session_register(count);
Rudolf Visagie
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 04:42
To: [EMAIL PROTECTED]
Subject: [PHP] Session Problem
I can't get session variables to work
I know this has been done
PROTECTED]
Subject: RE: [PHP] Session Problem
Try
session_register(count);
Rudolf Visagie
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 04:42
To: [EMAIL PROTECTED]
Subject: [PHP] Session Problem
I can't get session
-
From: karthik [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 1:08 AM
To: Chad Day
Subject: Re: [PHP] Session problem
Hi,
Have u tried $HTTP_SESSION_VARS[NAME] ?
Try it. I am sure it will work.
Karthik
- Original Message -
From: Chad Day [EMAIL PROTECTED]
To: mike cullerton
On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said:
I wish it did.
Still the same problem.
?php
session_start();
global $count;
session_register (count);
$count++;
?
Hello visitor, you have seen this page ?php echo
$HTTP_SESSION_VARS[count]; ? times.p
You're asking the
To: [EMAIL PROTECTED]
Cc: 'Chad Day'
Subject: RE: [PHP] Session problem
On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said:
I wish it did.
Still the same problem.
?php
session_start();
global $count;
session_register (count);
$count++;
?
Hello visitor, you have seen this page ?php
, but I searched
php.net and found no mention
of anything ..
Chad
-Original Message-
From: Brian Dunworth
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 10:37 AM
To: [EMAIL PROTECTED]
Cc: 'Chad Day'
Subject: RE: [PHP] Session problem
On Wednesday, August 08
/realtors/count.php
Chad
-Original Message-
From: Bjorn Van Simaeys [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Session problem
Maybe you have your cookies turned off in your
browser? Something that is easily forgotten..
Greetz
?php
session_start();
global $count;
session_register (count);
$count++;
?
Hello visitor, you have seen this page ?php echo
$HTTP_SESSION_VARS[count]; ? times.p
There was a bug in PHP in versions prior to 4.0.6: $count and
$HTTP_SESSION_VARS[count] did not reference
] Session problem
?php
session_start();
global $count;
session_register (count);
$count++;
?
Hello visitor, you have seen this page ?php echo
$HTTP_SESSION_VARS[count]; ? times.p
There was a bug in PHP in versions prior to 4.0.6: $count and
$HTTP_SESSION_VARS[count] did
Message-
From: Chad Day [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:36 PM
To: Johnson, Kirk; [EMAIL PROTECTED]
Subject: RE: [PHP] Session problem
Still not working. My script is -exactly- as you have it below, and I
believe I've tried that before.
(begins pulling out hair
What it looks like it is doing to me, if you hit the script
and reload it a
bunch, is it creates a session, sticks with it for a while,
then dumps it ..
it then creates another session, starts over at 1, and begins
counting up..
then sometimes it will see the old session, and go back to
What it looks like it is doing to me, if you hit the script
and reload it a
bunch, is it creates a session, sticks with it for a while,
then dumps it ..
it then creates another session, starts over at 1, and begins
counting up..
then sometimes it will see the old session, and go back to
Hassan El Forkani [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
indeed it's not working properly,
first of all please make sur the pages are not cashed send a header
(Cache-control: NO cache) i'm not sure about the syntax so check the
manual
then try to
I tried this, I still have the same problem. Is this a bug in the version
of PHP I am running?
Chad
-Original Message-
From: mike cullerton [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 06, 2001 4:58 PM
To: Chad Day; [EMAIL PROTECTED]
Subject: Re: [PHP] Session problem
i would try
forkani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 8:34 AM
To: Chad Day
Subject: RE: [PHP] Session problem
hello
At 15:16 07/08/01, you wrote:
My code:
auth.php:
session_start();
...
$res = mysql_query(SELECT NAME FROM dbhere where EMAIL = '$EMAIL
it about 10 times or so, watch what happens.
Chad
-Original Message-
From: hassan el forkani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 8:34 AM
To: Chad Day
Subject: RE: [PHP] Session problem
hello
At 15:16 07/08/01, you wrote:
My code:
auth.php:
session_start
forkani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 9:37 AM
To: Chad Day
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Session problem
oh i forgot!!!
you have to put this at the beginning of your page
?php
session_start();
?
indeed it's not working properly,
first of all please make sur
forkani [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 07, 2001 9:37 AM
To: Chad Day
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Session problem
oh i forgot!!!
you have to put this at the beginning of your page
?php
session_start();
?
indeed it's not working properly,
first of all please make sur
PHP 4.0.2 ..
I have a very basic script, gets the user's name, registers it, then
displays Welcome, $NAME. $NAME is the session registered name.
If I constantly reload that page that says Welcome, sometimes $NAME appears,
sometimes not. Completely random. It just loses track of the
i would try
session_start();
session_register(NAME);
$res = mysql_query(SELECT NAME FROM dbhere where EMAIL = '$EMAIL' AND
PASSWORD = '$PASSWORD');
if ($row = mysql_fetch_array($res)) {
$NAME = $row[NAME];
}
notice that $NAME is registered before being assigned to.
on 8/6/01 2:23 PM, Chad
When I open 1.php a 1K
file is created on the server and the contents
(my_session_variable|s:10:some value;).
When I open 2.php afterwards a 0K file is created on the
server which is empty.
This is the problem. For some reason, the 2nd page is creating a new
session when it shouldn't.
)
-Original Message-
From: David Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session problem using headers
Hi,
I am having problems with sessions. With cookies turned on it works
fine. Turn off cookies it fails.
I
to page input.php?=SID
instead of input.php?938sa9fa98f7daf987a9s (or similar)
-Original Message-
From: David Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session problem using headers
Hi,
I am having
Hi,
I am having problems with sessions. With cookies turned on it works
fine. Turn off cookies it fails.
I have tried both
header(Location: input.php?=SID);
header(Location: input.php?PHPSESSID=.PHPSESSID);
to pass the session id to the programme input.php but neither works.
The first lines
-
From: David Allen [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 6:45 AM
To: [EMAIL PROTECTED]
Subject: [PHP] session problem using headers
Hi,
I am having problems with sessions. With cookies turned on it works
fine. Turn off cookies it fails.
I have tried both
header
Hi all,
just for the record.found the problem.the partition was
full*blush*:O\
-Robert
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
Hi Chris,
thanks for your fast reply. I tried your advice, checking if a variable
is already registered before registering it again, the problem remains.
The thing that bugs me is that I am getting no error message whatsoever,
session_register is returning true and there is nothing in the log
Hi all,
I'm having the following problem. I have PHP-4.0.5 staticaly compiled
with apache 1.3.19, running on a red hat linux with a 2.2.12 Kernel.
The following script does not work the second time called, the browser
just hangs and returns a this document is empty after a while. I am
getting
calling session_register() on a var that is allready registered is asking
for trouble. there seems to be some bug in php concerning this.
?php
session_start();
if (!isset($HTTP_SESSION_VARS['counter']))
{
$counter = 0;
session_register('counter');
}
$counter++;
echo
Counter:
I tried to put sessions to work, but i have a problem to start a session in
each browser. When i close the browser and start it again the session_id is
the same, if i start another browser he have the same session id as the
first one and so on. Can someone tell me why?
--
PHP General Mailing
I tried to put sessions to work, but i have a problem to start a session in
each browser. When i close the browser and start it again the session_id is
the same, if i start another browser he have the same session id as the
first one and so on. Can someone tell me why?
--
PHP General Mailing
I might be wrong, but AFAIK session is connected to the client and the window or
application exactly.
This means that if you close the browser and
- Original Message -
From: MySQL [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. május 5. 19:59
Subject: [PHP] Session problem
I
.
ps.: i beg your pardon to post the prevoius incomplete message.
- Original Message -
From: MySQL [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 2001. május 5. 19:59
Subject: [PHP] Session problem
I tried to put sessions to work, but i have a problem to start a session in
each
I got this strange problem, maybe a design flaw, please look at it and tell
me what's wrong.
3 files in total
1.php3
--
?php
session_start();
?
html
FORM action="./2.php3" method="post"
P
input name="var" type="text"br
INPUT type="submit" value="Send"
/FORM
/html
That's because your "variable_order" is "EGPCS". (Default)
So your PHP is working fine.
--
Yasuo Ohgaki
""Jason Lam"" [EMAIL PROTECTED] wrote in message
99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL PROTECTED]...
I got this strange problem, maybe a design flaw, please look at it and
FYI
Use $HTTP_*_VARS to avoid this kind of problems. Variable order may change
server to server, so you might not able to rely on it even if you know well
about it.
--
Yasuo Ohgaki
""Jason Lam"" [EMAIL PROTECTED] wrote in message
99uf64$4i9$[EMAIL PROTECTED]">news:99uf64$4i9$[EMAIL
On Sat, Mar 24, 2001 at 08:50:16AM +0100, Rol wrote:
I did notice that the session id is also written to the /tmp folder. Linux
mandrake.
If php doesn't set a cookie to save the session-registered variables it stores
them in the locatin set in the php.ini (which is by default /tmp)
Things
:56 PM
Subject: [PHP] Session problem
Hello,
Does anyone know how to fix this error?
Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR) failed:
m
(2) in c:/htdocs/br/br.php on line 2
Thank you,
Brandon Orther
WebIntellects Design
Hello,
Does anyone know how to fix this error?
Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR) failed: m
(2) in c:/htdocs/br/br.php on line 2
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
you're using php for windows, right? well, you try to open /tmp which is
a *nix standard directory...i think you can fix that in your php.ini
jack
Brandon Orther wrote:
Hello,
Does anyone know how to fix this error?
Warning: open(/tmp\sess_4fb4c5778fe97ab351baca1d8db90abf, O_RDWR)
Hi!
I have a page in wich i register and fill the value of some session
varibles:
session_start();
session_register("vehiculesess");
session_register("hotelsess");
session_register("riadsess");
session_register("transfertsess");
session_register("excursionsess");
include "sessions.inc";
bit
cookies disabled and using --trans-sid ? the only way PHPSESSID can be set
is if PHPSESSID is set in the url (get) or in a form (post) if neither is
set then your hooped. a new session will be created each time.
?php
session_start()
if (!isset($HTTP_SESSION_VARS['count']))
{
hello,
I am developing a website which extensively use the session function of php.
I have meet the following problem: the server for development was placed in
the intranet originally and when it moved to DM zone yesterday, and then all
session value can't pass any more! I had checked that
function add_toCart($id,$array) {
session_register("OBJECT");
$c = new Configurator;
$c-readConfig($id);
$OBJECT = serialize($c);
header("Location: Cart.php");
echo "Redirecting..."
}
Unfortunately, the session file (in /tmp) is always empty after this
function executes. I'm using PHP
I am using the following function to add a serialized object to a
session:
function add_toCart($id,$array) {
session_register("OBJECT");
$c = new Configurator;
$c-readConfig($id);
$OBJECT = serialize($c);
header("Location: Cart.php");
echo
The session file is not empty :) the OBJECT portion of the session file
is empty. i.e. cat'ing /tmp/sess_whatever yields:
!OBJECT|
-jm
-Original Message-
From: Javier Muniz [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 3:57 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Session
101 - 200 of 200 matches
Mail list logo