Hi everybody!
I have a problem and I was told to check out the sessions part in PHP.
What I want to deal with is the following :
I have a PHP page with a form, where the user writes some data. These data are
then written into a file which is then used in a system command as input for an
external
Hi everybody! I have a problem and I was told to check out the sessions
part in PHP. What I want to deal with is the following : I have a PHP
page with a form, where the user writes some data. These data are then
written into a file which is then used in a system command as input
Well for the latter part of your question.. 'Where to start??' the
first thing to start with is to NOT reply to a topic and change
your subject to ask something else, instead click the icon in your
email application that indicates a new message and compose your
question addressed to
, March 25, 2004 2:05 AM
Subject: Sessions and PHP
Hi,,
is there anyway to get the number of people connected to the site?
in asp you just use Application and session_terminate to accomplish this
is there anyway to do this in PHP ?
regards
patrick
--
PHP General Mailing List (http
Patrik Fomin wrote:
Let me rephrase it,
i got a login page, once logged in you you got the session
$_SESSION['in'] = true;
i want to be able to count the number of people that are logged in atm,
so when they logout with either logout button or close the window, i want to
then decrese the number.
how do i determine if a session has been destroyed/created ?
patrick
John W. Holmes [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
Patrik Fomin wrote:
Let me rephrase it,
i got a login page, once logged in you you got the session
$_SESSION['in'] = true;
i want to be
Hi,,
is there anyway to get the number of people connected to the site?
in asp you just use Application and session_terminate to accomplish this
is there anyway to do this in PHP ?
regards
patrick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mar 25, 2004, at 2:05 AM, Patrik Fomin wrote:
is there anyway to get the number of people connected to the site?
in asp you just use Application and session_terminate to accomplish
this
is there anyway to do this in PHP
Hi Patrick,
As far as I know this is not possible with default PHP
--- Patrik Fomin [EMAIL PROTECTED] wrote:
is there anyway to get the number of people connected to the site?
in asp you just use Application and session_terminate to accomplish
this is there anyway to do this in PHP?
Taken literally, you are asking about the number of active connections,
Hi,
can anyone help my list the ways to create/view a session, i need to find
out if my host supports any of em (kinda strange host), eg:
page1.php
start_session[test]
register_session[test2]
etc
page2.php
retrive session 1, 2 etc and display their contents
regards
patrick
--
PHP General
--- Patrik Fomin [EMAIL PROTECTED] wrote:
start_session[test]
register_session[test2]
Please read this:
http://www.php.net/session
Hope that helps.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
--
PHP General Mailing List
Assuming PHP = 4.1
page1.php
?
// continue or create a session
session_start();
// set some session vars
$_SESSION['color'] = 'red';
$_SESSION['name'] = 'Justin';
?
page2.php
?
// continue or create a session
session_start();
// echo some session vars
echo Hello {$_SESSION['name']}, your
12 matches
Mail list logo