$ID is not a global, but $_SESSION["ID"] would be...
Gerry
http://groups.yahoo.com/group/php_and_mysql/
On 3/9/06, suresh kumar <[EMAIL PROTECTED]> wrote:
>
> i am having one problem in session handling.
> I am having 2 files,login page and hame page.
> when user enterd user name and password in
i am having one problem in session handling.
I am having 2 files,login page and hame page.
when user enterd user name and password in login page
.i used session to store the user id .in my second
home page.i retrieve the user id.now i want the user
id to be availble in my thrid page.plz help me.th
i am having one problem in session handling.
I am having 2 files,login page and hame page.
when user enterd user name and password in login page
.i used session to store the user id .in my second
home page.i retrieve the user id.now i want the user
id to be availble in my thrid page.plz help me.thi
On Sun, May 22, 2005 11:09 pm, eswar said:
> I am the php programmer. I am trying with session handling.It is not
> working properly. sessions function well when I use browser on the machine
> where IIS is installed. But through other machines, it always create two
> session file, one is OK, the ot
Dear sir
I am the php programmer. I am trying with session handling.It is not working
properly. sessions function well when I use browser on the machine where IIS is
installed. But through other machines, it always create two session file, one
is OK, the other is blank, nothing in it. the later
On Mon, 8 Nov 2004 15:00:33 +0530, Vinayakam Murugan
<[EMAIL PROTECTED]> wrote:
> Can anyone point me a good tutorial for session handling in PHP? I
> want answers to questions like
> ./google.pl "php session" 10
Result:
http://www.php.net/session
http://www.phpfreaks.com/tutorials/41/0.php
http:/
Hello
Can anyone point me a good tutorial for session handling in PHP? I
want answers to questions like
1) What's the difference between session & cookies?
2) What does session_destroy do? (I know the definition from
www.php.net) I want to know the internals.
Thanks in advance.
--
Warm Regards
Hi,
I've a login script that works fine on my local server, but when I runs it
from my ISP I get the following error:
Warning: Cannot send session cookie - headers already sent by (output
started at /export/home/thore/public_html/phptest/reporter_view.php:5) in
/include/accesscontrol.php on li
Have you got cookies enabled in your browser?
Check if PHP is setting the cookie in your browser -- it should be named
PHPSESSID by default, but might be named something else...
If you haven't got cookies enabled on your browser, then you have to pass
the session id around in the URL, linking page
i want to access some variables generated in one page
in all the other pages, so i thought of using
$_SESSION.
what i did is :
in page1.php i do:
$temp = 'someValue';
session_start();
$_SESSION['abc'] = $temp;
in page2.php :
session_start();
echo($_SESSION['abc']);
but i am not ab
> JWH>You must call session_start before any output to the browser. A
blank
> JWH>line or space outside of PHP blocks is considered output. The
error
> JWH>message tells you exactly where the output started. Read the
manual
> for
> JWH>more information, it's all covered.
>
> Hello,
>
> Actually
On Wed, 6 Nov 2002, John W. Holmes wrote:
JWH>You must call session_start before any output to the browser. A blank
JWH>line or space outside of PHP blocks is considered output. The error
JWH>message tells you exactly where the output started. Read the manual for
JWH>more information, it's all co
Message-
> From: Uma Shankari T. [mailto:umashankari@;lantana.tenet.res.in]
> Sent: Wednesday, November 06, 2002 6:59 AM
> To: PHP
> Subject: [PHP] Session Handling
>
>
>
> Hello,
>
> I have tried session handling..after starting the session i am
try
Hello,
I have tried session handling..after starting the session i am trying to
get the value by this command
session_start();
echo $varname;
but it is displaying this error..
Warning: Cannot send session cookie - headers already sent by (output
started
Can anyone tell me how to go ab
> JWH>SESSIONs have nothing to do with it, this is a javascript issue,
> unless
> JWH>you plan on submitting the form when the user picks the year.
>
>
> Okay if it is like form submittion Can you please tell me how to do
> that..??
What do you have so far? I'm not writing this for you, it's a s
JWH>SESSIONs have nothing to do with it, this is a javascript issue, unless
JWH>you plan on submitting the form when the user picks the year.
Okay if it is like form submittion Can you please tell me how to do
that..??
Regards,
Uma
--
PHP General Mailing List (http://www.php.net/)
To un
>I am having two list box of which one contains the year no and the
> another one contains the items related to that year..If once i have
> selected that year then whatever i have selected in the list it have
to
> show the items related to that year until i select the next year..Can
> anyone pl
Hello,
I am having two list box of which one contains the year no and the
another one contains the items related to that year..If once i have
selected that year then whatever i have selected in the list it have to
show the items related to that year until i select the next year..Can
anyon
I've installed Apache 1.3.23 on Windows 2000 and PHP 4.1.2 on it. I
can't seem to get any session variables set using any of
$_SESSION/$HTTP_SESSION_VARS/session_register() methods to work. My temp
file is valid and track_vars is turned on. I can see that in the temp
folder my session vars are sto
Set the expire date to be 0. then the browser will delete them after the
browser window is closed.
-Jason Garber
IonZoft.com
At 02:39 PM 10/29/2001 +0100, Andy wrote:
>Hello,
>
>I have developed a member login system with cookies. Now I have the prob,
>that the session stayes existend when the
Hello Andy,
Monday, October 29, 2001, 3:39:51 PM, you wrote:
A> So... does anybody know how...
A> 1) I get the system to delete the cookie as soon as I leave the site, or
A> close it
Use logout with setcookie("name", 0, ...)
A> 2) How to work on the same time.
Pass information about date/tim
Hello,
I have developed a member login system with cookies. Now I have the prob,
that the session stayes existend when the browser is closed. This could
couse a problem in Internet caffes for example. As second thing, I have
realized, that it depends on the clients clock!! I am sending a cookie w
essing
symbols, unix uses / windows on the oder hand \, fix this in php.ini and
it will work
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf
Of [Inf] F!RE-WALL
Sent: Wednesday, March 28, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session handling
Eve
t;[Inf] F!RE-WALL" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 12:17 PM
Subject: Re: [PHP] session handling
>
> - Original Message -
> From: "[Inf] F!RE-WALL" <[EMAIL PROTECTED]>
> To: &
- Original Message -
From: "[Inf] F!RE-WALL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 12:10 PM
Subject: [PHP] session handling
> Every time I want to initiate a session i get this:
>
> Warning: open(/tmp\sess_b18426d40
MAIL PROTECTED]]On Behalf
Of [Inf] F!RE-WALL
Sent: Wednesday, March 28, 2001 12:10 PM
To: [EMAIL PROTECTED]
Subject: [PHP] session handling
Every time I want to initiate a session i get this:
Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR)
failed: m
(2) in e:\webserver\phptest\page1.ph
Every time I want to initiate a session i get this:
Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m
(2) in e:\webserver\phptest\page1.php on line 2
Warning: open(/tmp\sess_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) failed: m
(2) in Unknown on line 0
Warning: Failed to
Apologies if this has been addressed earlier.
I'm using session.auto_start under an apache-ssl driven site, and it seems
that the sesion ID cookies aren't being sent with the "secure" flag
set. As a result, the browser is effectively ignoring the cookie.
Is this an obvious configuration problem
28 matches
Mail list logo