Set the session lifetime to 0
2012.05.05. 11:15, "Vinay Kannan" ezt írta:
> Hi Guys,
>
> Any idea as to how we can destroy a PHP session on window close and not
> only when the user clicks on logout link? There is a chance that the same
> application can be used by different users with different
Hi Guys,
Any idea as to how we can destroy a PHP session on window close and not
only when the user clicks on logout link? There is a chance that the same
application can be used by different users with different
access privileges on the same computers. Right now m entirely depending on
$_SESSION
te them back to
login page, etc.
Stay well
Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'
- Original Message -
From: "Vinay Kannan"
To: "PHP DB" ; ;
Sent: Thursday, March 29, 2012 9:30 AM
Subject: [PHP-WIN] Session
Hey,
I am working on the application, thought its not OOP currently, I plan to
take it further in a year or so.
Right now, I have 4 access levels which define what the users can do on the
application.
Based on the access levels defined, a session varialble is set called
$_SESSION['authtype'], and
Hi,
I have a small code for auto session time out, which logs out a user upon a
session timeout, i want to get him back to the page he was on, before the
session time out..
$inactive)
{
$go=$_SERVER['HTTP_REFERER'];
session_destroy();
header("Location:index.php?go=$go");
}
}
$_SESSION['timeo
Hello All,
Sorry. I have already asked this question once but my computer's HDD
died and I could not retrieve the email from the dead drive.
So my question, once again!
How would I create a time out function for my session. I want users to
log in, store the session, and then have the system
uot; <[EMAIL PROTECTED]>
To: "'Richard Duval'" <[EMAIL PROTECTED]>;
Sent: Monday, March 07, 2005 7:29 PM
Subject: RE: [PHP-WIN] Session Variables
> You need to make sure that in your second page that you're starting the
> session - if you don't do this t
y, March 07,
2005 7:05 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Session Variables
Newbie question, sorry but I've searched everywhere and can't seem to
find the answer...
Session variables...should be able to define in one page, call the
next page and have it available the
hard Duval [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 7:05 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Session Variables
Newbie question, sorry but I've searched everywhere and can't
seem to find the answer...
Session variables...should be able to define in one page,
ca
ch 07, 2005 7:05 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Session Variables
>
> Newbie question, sorry but I've searched everywhere and can't
> seem to find the answer...
>
> Session variables...should be able to define in one page,
> call th
Newbie question, sorry but I've searched everywhere and can't seem to find the
answer...
Session variables...should be able to define in one page, call the next page
and have it available there as well right?
I can print out the session varialble in the page it was created, no problem
Then I c
I wanted to ask, where is the Session information stored ? That is at
the server or on the client. Because I need to give the
session.save_path value in the php.ini. I would give it according to
people's reply of this question. Thank you.
Vaibhav
--
PHP Windows Mailing List (http://www.php.net/)
Hi.
When I set session expiration using:
ini_set('session.gc_maxlifetime','3');
and I refresh page after 10 seconds or even change my system time to a
few hours ahead, the session variables still exist. It doesn't work even
if I change it directly in php.ini. I am running the Apache 2 with PHP
When I was opened my index.php I saw a warning as following:
Warning: open(/tmp\sess_d8371d1d2885a00f831dca4730aa2354, O_RDWR)
failed: m (2) in c:/program files/abria
merlin/apache/htdocs/md/misc/misc3.php on line 12
I use sessions. Related file (misc3.php) and screen view are added to
th
When I was opened my index.php I saw a warning as
following:
Warning:
open(/tmp\sess_d8371d1d2885a00f831dca4730aa2354, O_RDWR) failed: m (2) in
c:/program files/abria merlin/apache/htdocs/md/misc/misc3.php on line
12
I use sessions. Related file (misc3.php) and screen view are
added t
Dear Users,
Can I manage the PHP session on windows.
I am running the Apache 1.3 and PHP. I got the warning:
Warning: open(/tmp\sess_2b69db87d2a153561e2972b4fb5eac3c, O_RDWR) failed: m (2) in
c:\program files\apache group\apache\htdocs\test\sess.php on line 2
Please can some one help me regard
It's only that idiot (quickcop) at QUICK.COM again - use to pop up once
every half year or so
-Original Message-
From: Charles P. Killmer
To: [EMAIL PROTECTED]
Sent: 17-5-2004 16:47
Subject: FW: [QRfsoto]: RE: [PHP-WIN] Session troubles
I know this isnt the place, but this bug
] Session troubles
Add Your E-Mail Address
<http://q4.quik.com/img/spacer.gif>
Thank you for your e-mail. In an effort to address the growing spam issue and to
therefore respond to your e-mail sooner, your e-mail message with the subject of "RE:
[PHP-WIN] Session troubles"
on_start();
>$row['id']=545;
>
>$_SESSION['individual_id'] = $row['id'];
>header("location:dataFilterExpander.php?".sid);
>
>Charles Killmer
>
>-Original Message-
>From: Cory D. Wiles [mailto:[EMAIL PROTECTED]
>Sent: Monday
t;.sid);
Charles Killmer
-Original Message-
From: Cory D. Wiles [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 9:40 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] Session troubles
Though i can not verify this at the moment. I had a similar problem, but
not with
Though i can not verify this at the moment. I had a similar problem, but
not with sessions and the notice steams from not having a var declared.
To get rid of the error you have to turn e_notice off.
Something like this:
error_reporting = E_ALL & ~E_NOTICE
Here is a good explanation of what was
For some reason I am not able to get sessions to work.
This is the code I have entered on the first page:
session_start();
$row['id']=545;
$_SESSION['individual_id'] = $row['id'];
header("location:dataFilterExpander.php");
On page two this is the code I'm using:
session_start();
if(empty($_
Hi, i am newby,
My PHP Session and Cookie working fine with Windows and IIS
webserver, but dont work at all on windows and apache web server
php.ini and httd.conf are default setting, and folows the
instalations instructions.
can anyone help?
__
Hi, i am newby,
My PHP Session and Cookie working fine with Windows and IIS
webserver, but dont work at all on windows and apache web server
php.ini and httd.conf are default setting, and folows the
instalations instructions.
can anyone help?
_
good Day people. :)
in my pages, i have created a security class (very basic) that only tracks
whether the user has logged in, to trap users that directly type in the
url.
so when i did that, i have to redirect the users to the login page of my
site but php issues a warning message
SESSION destr
I want to know how can i do to make the session dont expire?. i have an
application that works with sessions, when i left the browser open for a
while, i dont know maybe 30 minutes, when i try to go into a section it
throw me an error, for session expire, how can i fic that?.
thanks.
Carlos A. C
Sarath [mailto:[EMAIL PROTECTED]
Enviado el: jueves, 04 de marzo de 2004 0:50
Para: [EMAIL PROTECTED]
Asunto: Re: [PHP-WIN] session problems
Hi Dear,
First of all let me warn u that sessions in PHP need to be handled very
carefully. It is very sensitive. Now to your problemIf t
Hi Dear,
First of all let me warn u that sessions in PHP need to be handled very carefully. It
is very sensitive. Now to your problemIf there is an error with session.save_path
u need to configure the php.ini file. If u are using a remote server to run ur php
files then the path of session
Hi, i have the followin problem, i have a site that use sessions,
sometimes when i want to write on the session i get the followin error:
Warning: Unknown(): The session id contains invalid characters, valid
characters are only a-z, A-Z and 0-9 in Unknown on line 0
Warning: Unknown(): Failed to
t
echo date('Y m d H:i:s', $_SESSION['time']);
// You may want to use SID here, like we did in page1.php
echo '
page 1';
?>
-----Original Message-
From: Sudeep Sarath [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 12:08 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-W
ciated.
-Original Message-
From: Sudeep Sarath [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 12:08 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Session not working
Hello Yi Socheat,
I think i am right in variable declaration. On both the pages i used
$_SESSION['value'
nction name or variable is case
sensitive
You sould write _SESSION['sessionName'] , you try to change in your code
please it will be fine...
-Original Message-
From: Sudeep Sarath [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 11:40 PM
To: [EMAIL PROTECTED]
Subject:
Sudeep Sarath,Hello!
PHP is sensitive to capital letters or lowercases.
Please try to use $_SESSION['value']
=== 2004-02-27 15:40:14 ===
>Hello everyone,
>
>I recently installed Apache 1.3.9 server and php 4.3.4(from win32 zip package) on my
>system with Windows98SE as o/s. I c
Hello everyone,
I recently installed Apache 1.3.9 server and php 4.3.4(from win32 zip package) on my
system with Windows98SE as o/s. I configured the httpd.conf and php.ini as per the
instructions on the install.txt file of php. First i got an error with regard to the
path of session.save_pat
}
if (isset($_SESSION["idAsset"])) {
$idAsset = $_SESSION["idAsset"];
}
Thanks,
John Ellingsworth
http://mail.med.upenn.edu/~jellings/
AIM: vc2000support
-Original Message-
From: Jennifer S. [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 10, 2004 5:36 AM
To:
Hi,
Seems to work OK. I consistently got the same session ID
I am in a similar situation, moving all my ASP apps to PHP. I run Apache 2.0 on Win
2000 servers. I have actually traced the sessions in the PHP session data directory
and found things to be working consistently and well.
Are you using
I am new to PHP moving over from ASP and one of things I relied on heavily
was session variables. It seems that everytime a new page is opened it
starts a new session.
I have set up a simple test site you can see whats happening - easier than
to explain.
http://www.cflsquad.com/index.php
Use
Use
You can't rely on the cleint, anything can happend with the client.
Maybe calling session_destrouy() from the web server script is what you
actually want to do.
-Original Message-
From: Meteorlet
To: php-windows
Sent: 1/6/2004 3:27 PM
Subject: [PHP-WIN] Session Problem
Hi,everyone!
I got a problem about SESSION.When we use Seesion to store information,
we hope that the session will be destroied after you close browser IE automatically.
but sometimes it's not truth.In local test,everything is alright,but I uploaded
them into my ISP's host,the ses
page, so it's best off called at the top/start of your php page.
>
> -Original Message-
> From: Voodoo [mailto:[EMAIL PROTECTED]
> Sent: 10 November 2003 5:09
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Session configuration
>
>
> I'm using php 4.3.0 u
I can't believe it was just that. Thanks a lot, man.
Cheers,
Voodoo
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ECTED]
Sent: 10 November 2003 5:09
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session configuration
I'm using php 4.3.0 under an IIS server, and I'm having some trouble on
starting a session. I guess it's a configuration problem. Tried to edit the
php.ini file, and found this line:
; H
I'm using php 4.3.0 under an IIS server, and I'm having some trouble on
starting a session. I guess it's a configuration problem. Tried to edit the
php.ini file, and found this line:
; Handler used to store/retrieve data.
session.save_handler = files
; Argument passed to save_handler. In the cas
I have setup a php page to use mysql and PHP's session handling. The logon
page displays just fine but when I try and log into the page IE give me the
page can not be displayed. I have the session.save_handler set to files and
the session save path set to C:\tmp. Any ideas what I am doing wrong?
I've done that. Still not working.
-Original Message-
From: Mike Brum [mailto:[EMAIL PROTECTED]
Sent: den 5 oktober 2003 19:25
To: 'Disko_kex'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Session Problem
Assuming this is tied into your other problem (which I read first), t
Sent: Sunday, October 05, 2003 10:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session Problem
Hi,
How can I save a session value? I tried:
but I get this warnings and its not working at all. What should I do?
Warning: session_start(): open(/tmp\sess_4d5fc486fcfae10349d5bf6fb21092ea,
O_RDWR
Still not working?
-Original Message-
From: Mike Brum [mailto:[EMAIL PROTECTED]
Sent: den 5 oktober 2003 19:12
To: 'Disko_kex'; [EMAIL PROTECTED]
Subject: RE: [PHP-WIN] Session prob
You need to start the session.
sesstion_start();
Read up - http://us3.php.net
You need to start the session.
sesstion_start();
Read up - http://us3.php.net/manual/en/function.session-start.php
-Original Message-
From: Disko_kex [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 05, 2003 12:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session prob
Why isn´t
Why isn´t this working? Is there something I done wrong during the
installation or what?
>Disko_kex wrote:
>> but I get this warnings and its not working at all. What should I do?
>>
>> Warning: session_start():
>> open(/tmp\sess_4d5fc486fcfae10349d5bf6fb21092ea, O_RDWR) failed: No
such
>> file or directory (2) in c:\inetpub\wwwroot\session.php on line 7
>>
>> Warning: session_start
Disko_kex wrote:
but I get this warnings and its not working at all. What should I do?
Warning: session_start():
open(/tmp\sess_4d5fc486fcfae10349d5bf6fb21092ea, O_RDWR) failed: No such
file or directory (2) in c:\inetpub\wwwroot\session.php on line 7
Warning: session_start(): Cannot send sessio
Hi,
How can I save a session value? I tried:
but I get this warnings and its not working at all. What should I do?
Warning: session_start():
open(/tmp\sess_4d5fc486fcfae10349d5bf6fb21092ea, O_RDWR) failed: No such
file or directory (2) in c:\inetpub\wwwroot\session.php on line 7
Warning:
i m doin a login system
what's the diff between session and cookie?
which one is more secure?
i tried session on my server but there's error
soi use cookie and it work well.
btw..is there any module that's ready to use for login system?
stical Web Designs
http://www.mystical-sector.com
<-- I design and i redesign but still i never designed true beauty like you
-->
From: "Disko_kex" <[EMAIL PROTECTED]>
To: "'Dean Hayes'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: [PHP-
uot; <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: RE: [PHP-WIN] Session Vars
Date: Mon, 25 Aug 2003 12:33:50 +0200
Try this instead:
Session_start();
$_SESSION["id"] = $PHPSESSID;
$_SESSION["user_name"] = $form_username;
$_SESSION["
--Original Message-
From: Dean Hayes [mailto:[EMAIL PROTECTED]
Sent: den 25 augusti 2003 09:23
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session Vars
Hey,
I have a script that needs to save the session id and username but when
i
use the following code it will not save anything to the session f
Hey,
I have a script that needs to save the session id and username but when i
use the following code it will not save anything to the session file, can
anyone help out here? The same script use to work when i ran it under Win 98
and Mandrake Linux but since i have installed WinXP it stops work
PROTECTED]
Subject: Re: [PHP-WIN] Session problems
Creative Solutions New Media wrote:
> I'm getting the following errors string to start a session.
>
> Warning: session_start() [function.session-start]:
> open(/tmp\sess_801eb94975c2de92f1085a8d4521af12, O_RDWR) failed: No such
> file
Creative Solutions New Media wrote:
I'm getting the following errors string to start a session.
Warning: session_start() [function.session-start]:
open(/tmp\sess_801eb94975c2de92f1085a8d4521af12, O_RDWR) failed: No such
file or directory (2) in G:\Program Files\Apache
Group\Apache2\htdocs\Imptech\
Hoping someone can help.
I'm getting the following errors string to start a session.
Warning: session_start() [function.session-start]:
open(/tmp\sess_801eb94975c2de92f1085a8d4521af12, O_RDWR) failed: No such
file or directory (2) in G:\Program Files\Apache
Group\Apache2\htdocs\Imptech\www\SOS\Us
> how can i track that a particular session is still active or not.
> so how can i get it.
Ever heard "I think therefore I am!" ? ;)
bool connection_aborted();
bool connnection_timeout();
0/1/2 connection_status();
0 = normal, 1 = aborted, 2 = timeout
--
PHP
hi to all
how can i track that a particular session is still active or not. so how can
i get it.
pls help me out
^
Shahid Sheikh
[ : : I N F O R M A T I C S Y S T E M S : : ]
Mumbai
India
Tel:91-22-56318528
Alternate email id : [EMAIL PROTECTE
I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
scripts at home, can't publish them. I'm trying to set some session vars,
but the variables simply disappear when I try to use them again. Made the
following code to test it, but when I click on 'increment' the 'numb' var is
I'm using a local Apache 1.3 server on WinXP, and I've gotta test some php
scripts at home, can't publish them. I'm trying to set some session vars,
but the variables simply disappear when I try to use them again. Made the
following code to test it, but when I click on 'increment' the 'numb' var is
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with
sessions.
What I am building is a loginsystem and I need to save some parameters in
session variables. This works fine on my Win2k pro machine but when I moved
it to winXP it creates two different sessions when I set the
I am running PHP 4.3.0 on a WinXPpro machine and I recently got problem with
sessions.
What I am building is a loginsystem and I need to save some parameters in
session variables. This works fine on my Win2k pro machine but when I moved
it to winXP it creates two different sessions when I set the
If you could interpret them, and the problem would be to get rid of them,
that's one thing.
This is different.
Be more specific.
What warnings ?
- Original Message -
From: "tana dsasa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 23, 2003
I have installed an user-login aplication on my website (
http://www.norbertnet.ro ) but i have problems with session controls.
I receive all kinds of warnings and i don't know how to interpret them
thanks advanced
-
Want to chat instantly with your online frien
In PHP.ini file (somewhere in the %windows% directory), there is a
directory referenced as:
session.save_path = c:/winnt/temp
Check 2 things:
a) that the directory in that entry is set to an existing directory of
which the process running the web server has read/write permissions
b) when issue
hi hector,
i've this problem too. my setup is winxp, ms iis 5.1, php 4.3.1.
may i know have you manage to solve this problem? if yes, how to solve it?
thanks and regards,
raymond
===
"Hector Lumang" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PR
Thank you guys now it´s working fine.
[]´s Waldemar
Hi,
I am experiencing problems with session handling on WinXP. I noticed that evertime I
use session_start(), a new session id is produced - and so (I think), session data
could not be passed to the succeeding pages. How do I prevent this from happening?
Has anybody come across this problem
Hello,
I am using session variables using the format of $_SESSION["XXX"].
Sometimes, some of the session variables are lost when trying to access a
different page. The list is consistent. At the end of the current page, I
display the session variable value and it's working but on the start of the
n
-Original Message-
From: Iggy [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 4:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] session ids
I have been having a huge problem with session IDs for a while now and
havn't been able to find a solution.
a simple code like this:
session_
I have been having a huge problem with session IDs for a while now and
havn't been able to find a solution.
a simple code like this:
session_start();
echo session_id();
session_unset();
session_destroy();
run on a single php page will always give me the same id no matter how many
times I refresh
good afternoon,
I am new with php and session handling - I am currently working working on a
site which requires sessions. However, whenever I execute session_start(),
a new session ID is generated. Is this correct/normal? The following is my
current setup:
Windows XP
PHP 4.3.1
MySQ
09, 2003 8:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] session problem
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,
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
hi,
i have some problem about session in PHP
ok.. start
i write program like this.
session1.php
now i user Omnihttpd version2.10 for webserver and winXP on my Comp.
i open IE web browser
i try http://127.0.0.1/session1.php
This program display seesion'id is 8c15e05183ac143f7dc517e62be59957
in
in the php.ini make sure the global register=on. PHP 4+ this is set to off
by default.
From: "Jed R. Brubaker" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session Variables
Date: Wed, 4 Dec 2002 00:15:19 -0700
I am having a problem with a simple script t
I am having a problem with a simple script that uses session variables. It
is a user authentication script and none of my users have had any problems
with the exception of one individual. The session variables simply don't
carry over. I am half convinced that it is user error, but have any of you
r
Hi List,
I execute a script (session_test.php) to test the
session_type and I receive the following:
Session Test
If sessions are configured properly in your PHP
installation, then you should see a session id below,
and the "page views" number should increase every time
you reload the page. Clic
Raheel,
Have you done a session_start() on each page that requires session
variables? Or set the php.ini Session Auto Start to 1 (true, if I recall
correctly) if you want sessions enabled on all your page calls, then
restart your http server.
-Dash
Heaven, n.:
A place where the wicked ce
function SetDomain(d) { document.domain = d; }Hi,
I m a new bie programmer in PHP , but have strong background in ASP
here i m having a problem with session persistance
at one page i m starting the session, with
session_start();
$_SESSION['count']="1";
print($_SESSION['count']); // this works
Hi,
cfg: w2k prof, apache 1.3, php 4.2.3
Is there any way to set %subject% ? I need to take some action when client
do not touch keyboard for specific amount of time
THX
Dan
Hi everyone,
i have a tricky situation here...
I'm working on a project that requires session for logins.
The problem is PHP DOES NOT generate a new session id, even if the
appropriate functions are used. I have a little login test site that worked
absolutely perfect, with sessions generated at
Where's the session_start()?
You need it on every page that is gonna use session vars I think..
Rich
-Original Message-
From: Antonello Oliveri [mailto:[EMAIL PROTECTED]]
Sent: 24 September 2002 18:27
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] session under windows
I've istall
I've istalled PHP ver. 4.2.3 on two Windows98SE machines and on a WindowsXP
machine all running PWS 4.0 and/or Apache 1.3.22.
Sessions seem not work. correcly. PHP write the file
ss_ the first time and then it' doesn't update it
and variables registered are not rescued an
I have jsut recently installed a php development kit on my windows platform.
Im interested in using the session functions but I am recieving this error
when I use session_start():
Warning: open(/tmp\sess_540ded508edf231c47fe85bd970f936a, O_RDWR) failed: m
(2) in d:\phpdev\www\phpdev4\samples\samp
Hello everybody I'd like to make a page in which the results shown can
be bookmarked by pressing a button.
Actually first it should check if the session is open already ... Then
if the result (that comes from a query to a MySQL table) has been
registered already, finally it registers all the va
Is there a bug in php4.2.1 dealing with sessions? I am using $_SESSION to
set my session variables and it will not work. Can anyone offer examples
that they have used that work? I am going insane.
Thanx,
Kit
_
Send and receiv
y, July 10, 2002 11:34 AM
To: 'Dash McElroy'; 'PHP Windows'
Subject: RE: [PHP-WIN] SESSION vars
Well once the session var has been set using the previously posted
methos I can accress like $_SESSION['foo']. Should I be able to simply
do this:
Session_s
---
e: [EMAIL PROTECTED]
p: 603.943.4237
w: http://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-Original Message-
From: Dash McElroy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 2:15 PM
To: 'Matt Babineau'
Subject: RE: [PHP-WIN] SESSION vars
Have you started
://www.criticalcode.com
PO BOX 601
Manchester, NH 03105
-Original Message-
From: Robert Trembath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 2:12 PM
To: Matt Babineau
Subject: Re: [PHP-WIN] SESSION vars
On Wed, 2002-07-10 at 12:56, Matt Babineau wrote:
> I was reading on php.net but it s
I was reading on php.net but it seem unclear to me how to properly set a
session variable.
my code looks like this:
session_start();
$_SESSION["logged_in"] = "1";
--
when I click the link to the next page, and it checks for the logged_in
session var it cannot
Generally I don't believe in magic, but...
I tried to use 'session' machanism. So I typed "session_start()" and so on,
configured path to store session info. Surely before sending any headers. I
defined variable "level", accesed by $_SESSION["level"]. Sesion files were
being created in correct di
Turn on register_globals in your php.ini file.
On Tue, 14 May 2002, Donny Hariady wrote:
> This is my first experience with PHP session manager. I try the following code:
>
> session_start();
> print($counter);
> $counter++;
> session_register("counter");
>
> I found that PHP writes a sess_somet
ay, May 14, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Session - Cannot recall variable
This is my first experience with PHP session manager. I try the following
code:
session_start();
print($counter);
$counter++;
session_register("counter");
I found that PHP writes a sess_s
This is my first experience with PHP session manager. I try the following code:
session_start();
print($counter);
$counter++;
session_register("counter");
I found that PHP writes a sess_something file in its save_path directory.
When I refresh my browser, PHP updates this file but my browser st
Hi,
I'm having some troubles with sessions and PHP 4.1.2 in IIS 5 under
WinNT. I'm using the standard session functions from php.
$cookie_params = session_get_cookie_params();
session_set_cookie_params($cookie_params["lifetime"],dirname($SCRIPT_NAME));
session_start();
session_register("g_sessi
1 - 100 of 174 matches
Mail list logo