Hello
I am trying to make use of sessions to auhenticate users on the secure
parts of the website. Things seems to work fine...but I keep getting
this warning. Can some one pl explain what this means ...
Warning: Cannot send session cache limiter - headers already sent
(output started at /Use
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 t
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 6.0.2
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.
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 Option
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 ?PH
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
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 the
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: http://www.php.net/unsub.ph
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)
___
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
> consult
> 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
>
>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
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 (whi
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
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 6.0.2800.1106
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???
> sessi
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 o
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
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 scri
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 log
t;
> - Original Message -
> 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
>
>
>
&
t;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
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 regnerate
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 Se
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 differen
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 Val
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")) s
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 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("Li
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 fo
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 fo
To: [EMAIL PROTECTED]
Subject: Re: [PHP] session problem
You have to set the variables before using session_register().
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
>>> "Naintara Jain" <[EMAIL PR
TED]
> [mailto:[EMAIL PROTECTED]
> 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 un
. 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
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
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 gi
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:
and he shows me a session id without having a anything in my
session.save_path :(
when i uplo
: <[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
> (output started at /path/to/my/little/session.inc:9) in
&g
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:
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 "logg
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a; echo $_SESSION['a'];
$_SESSION['b'] =$b; echo $_SESSION[
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a;echo $_SESSION['a'];
$_SESSION['b'] =$b;
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
>
> Warnin
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 (outpu
IL PROTECTED]>
To: "PHP" <[EMAIL 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 ses
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 where
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 sess
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 Fre
-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 l
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
--
sion_start();
- 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 ne
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
EMAIL 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 ca
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 h
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
session.au
"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
> 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 b
> 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 b
ginal 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 pullin
[PHP] Session problem
> > > > > session_start();
> > > global $count;
> > > session_register ("count");
> > > $count++;
> > > ?>
> > >
> > > Hello visitor, you have seen this page > > $HTTP_SESSION_VARS["co
> > > > > session_start();
> > > global $count;
> > > session_register ("count");
> > > $count++;
> > > ?>
> > >
> > > Hello visitor, you have seen this page > > $HTTP_SESSION_VARS["count"]; ?> times.
There was a bug in PHP in versions prior to 4.0.6: $count and
$HTTP_SESSION_VARS["count"] did
.com/classified/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 forgo
PHP I am running at this point, 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:
0:37 AM
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.
>
> session_start();
> global $count;
> session_register ("count");
> $co
On Wednesday, August 08, 2001 at 9:16 AM, Chad Day said:
> I wish it did.
>
> Still the same problem.
>
> session_start();
> global $count;
> session_register ("count");
> $count++;
> ?>
>
> Hello visitor, you have seen this page $HTTP_SESSION_VARS["count"]; ?> times.
You're asking the sess
] 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" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, Au
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
>session_start();
>?>
>
>indeed it's not working properly,
>first of all please make sur the
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
indeed it's not working properly,
first of all please make sur the pages are not cashed
;
>
>Try loading 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
>
t;
>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:
> > >
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
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, Cha
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 variabl
> 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 shou
rrectly, it seems
> >
> > you must do something like this:
> >
> > or
> > header("Location: nextpage.php?$SID");
> >
> > what you're doing now will go to page "input.php?=SID"
> > instead of "input.php?938sa9fa98f7da
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]
--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
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 lin
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: [EMA
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 fi
calling session_register() on a var that is allready registered is asking
for trouble. there seems to be some bug in php concerning this.
";
?>
will work better for you I hope. please get back to me regarding how this
worked out.
--
Chris Lee
[EMAIL PROTECTED]
"Robert Schaller" <[EMA
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
gettin
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 L
same client for the server.
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
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:
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 Li
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 PROTECTED]
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 t
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
--
--
2.php3
--
GO";
?>
---
3.php3
---
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
Hello all
each user gets a session id which can be reused later. I am writing all
encoded details to for that session to mysql database.
If the same user returns later (hours,day) he/she can use her Id (input box)
and I get the details from the database.
I did notice that the session id is also
13, 2001 10: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,
>
> --
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)
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]
800-
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.
same page ";
?>
load this page without cookies and it will allways display 1 untill
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 whe
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 all
> 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'
101 - 200 of 202 matches
Mail list logo