$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
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
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:/
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
> 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
You must call session_start before any output to the browser. A blank
line or space outside of PHP blocks is considered output. The error
message tells you exactly where the output started. Read the manual for
more information, it's all covered.
---John Holmes...
> -Original Message-
> Fr
> 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
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
thanx m8
IT WORKS
""Andrius Lokotash"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
if you use windows then paht myst be c:\tmp or somthing like that.
the difference between unix & windows systems are directory adressing
symbols, unix uses / windows on th
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_b18426d4011c38e033bd0ed54bd2d2f1, O_RDWR) f
if you use windows then paht myst be c:\tmp or somthing like that.
the difference between unix & windows systems are directory adressing
symbols, unix uses / windows on the oder hand \, fix this in php.ini and
it will work
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECT
17 matches
Mail list logo