[PHP] Re: PHP session variables

2012-08-08 Thread Jim Giner
On 8/8/2012 11:24 AM, Ansry User 01 wrote: I am setting the _SESSION variables in one of my file, but whenever I leave the php page session variables are not accessible. Not sure what I need to do additionally other then defining _SESSION[]. Any pointer. You must make it a habit to start ea

Re: [PHP] Re: PHP session replication

2011-03-19 Thread Alessandro Ferrucci
Hi Florin, thank you for your write up, actually the main reason why I asked the original question was because I mainly write servlet based webapps currently but I've decided to use PHP for my next project mainly for exploratory reasons. On Sat, Mar 19, 2011 at 10:06 AM, Florin Jurcovici < florin.

Re: [PHP] Re: php session GC error

2009-01-13 Thread Andrew Ballard
On Tue, Jan 13, 2009 at 5:08 PM, Nathan Rixham wrote: > Frank Stanovcak wrote: >> >> So from everything I've read there is no real way to assure a session >> timeout with out timestamping it myself and dealing with it in code by doing >> a time compare. >> >> bummer. > > you're probably storing th

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. you're probably storing the session in a session cookie (which is default) so session.cookie_life

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
So from everything I've read there is no real way to assure a session timeout with out timestamping it myself and dealing with it in code by doing a time compare. bummer. ""Frank Stanovcak"" wrote in message news:57.31.25553.de80d...@pb1.pair.com... > > "Shawn McKenzie" wrote in message >

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:e3.00.25553.8560d...@pb1.pair.com... > Frank Stanovcak wrote: >> "Nathan Rixham" wrote in message >> news:496d03d3.2060...@gmail.com... >>> Frank Stanovcak wrote: "Shawn McKenzie" wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... >

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: > "Nathan Rixham" wrote in message > news:496d03d3.2060...@gmail.com... >> Frank Stanovcak wrote: >>> "Shawn McKenzie" wrote in message >>> news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: > I'm trying to make sure that my sessions are timed out b

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Nathan Rixham" wrote in message news:496d03d3.2060...@gmail.com... > Frank Stanovcak wrote: >> "Shawn McKenzie" wrote in message >> news:f8.ef.24097.e510d...@pb1.pair.com... >>> Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running i

[PHP] Re: php session GC error

2009-01-13 Thread Nathan Rixham
Frank Stanovcak wrote: "Shawn McKenzie" wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... Frank Stanovcak wrote: I'm trying to make sure that my sessions are timed out by my server. I'm running it on winxp, and my php.ini contains the following session.gc_probability = 1 session.gc_d

[PHP] Re: php session GC error

2009-01-13 Thread Frank Stanovcak
"Shawn McKenzie" wrote in message news:f8.ef.24097.e510d...@pb1.pair.com... > Frank Stanovcak wrote: >> I'm trying to make sure that my sessions are timed out by my server. >> I'm running it on winxp, and my php.ini contains the following >> >> session.gc_probability = 1 >> session.gc_divisor

[PHP] Re: php session GC error

2009-01-13 Thread Shawn McKenzie
Frank Stanovcak wrote: > I'm trying to make sure that my sessions are timed out by my server. > I'm running it on winxp, and my php.ini contains the following > > session.gc_probability = 1 > session.gc_divisor = 1 > > ; After this number of seconds, stored data will be seen as 'garbage' and

[PHP] Re: PHP Session

2006-02-13 Thread Jochem Maas
he Kurt, Given the question you ask is very much a beginners question I assume that you are not working for LCMG as a programmer? nothing wrong with that, per se ... BUT working for a large IT company you are expected to realise that the whole internet community is not just there to answer you y

Re: [PHP] Re: php session in ie

2005-11-12 Thread sunaram patir
On 11/12/05, James Benson <[EMAIL PROTECTED]> wrote: > > > sunaram patir wrote: > > Hi, i am having problem with internet explorer. i am working on > > $_SESSION['myurl']=$_SERVER['PHP_SELF']; > > if(!isset($_SESSION['student_username']) && > > !isset($_SESSION['student_password'])) > > he

[PHP] Re: php session in ie

2005-11-12 Thread James Benson
sunaram patir wrote: Hi, i am having problem with internet explorer. i am working on a project on building a website where i need to keep track of the users i.e. i use a login system in there in short. with the following code i check whether the user is logged in or not. You should use an a

[PHP] Re: php session variables limited to 1 character -- please help

2005-10-27 Thread Oliver Grätz
Zac Smith schrieb: > http://www.triptrivia.com/step2-debug.php?State=abc 404 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP SESSION DURATION.....

2003-11-25 Thread Larry E. Ullman
Correction: I meant to say: Are session variables stored server-side or client-side like cookies? The session data is stored on the server. The session cookie (if there is one) is stored in the browser. How do I go about making a session last longer that the duration of the browser? Set the expi

[PHP] Re: PHP SESSION DURATION.....

2003-11-25 Thread Keith
Correction: I meant to say: Are session variables stored server-side or client-side like cookies? "Keith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > How do I go about making a session last longer that the duration of the > browser? > Say I wanted to make a session last for

[PHP] Re: PHP session won't die!

2003-11-08 Thread DvDmanDT
setcookie(session_name(),"",0,"/"); session_unset(); session_destroy(); or something like that... -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com ## Please, if you are using windows, you may be infected by Swen. Please go here to find out more: http://us

[PHP] Re: PHP Session not working

2003-10-01 Thread Nicole
Which method are you using to set and access your session variables? -- Nicole aeontrek.com "Sheni R. Meledath" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi: > > We are facing some problems in using sessions in our applications. Recently > we have moved our web site to a new A

Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Marek Kilimajer
Maybe we don't understand each other. Catalin Trifu wrote: Hi, It does not. session.gc_maxlifetime states that PHP will consider that garbage, but it will not inform you it did so, No it will not inform you and there is no way it can inform you because the gc does not know how t

Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Catalin Trifu
Hi, It does not. session.gc_maxlifetime states that PHP will consider that garbage, but it will not inform you it did so, neither does it terminate the session. Make an experimet if you want. set the "timeout" 5 minutes, go for a coffee and come back in 10 minutes. You'll have

Re: [PHP] Re: PHP SESSION timeouts

2003-09-03 Thread Marek Kilimajer
Let me corect you. Catalin Trifu wrote: Hi, No, there is not! You have to manage yourself the timeout, for instance through a timestamp, which you verify on each request. PHP does not destry sessions by itself. Yes, it does, check your session.gc_maxlifetime setting (gc stands for g

[PHP] Re: PHP SESSION timeouts

2003-08-31 Thread Catalin Trifu
Hi, No, there is not! You have to manage yourself the timeout, for instance through a timestamp, which you verify on each request. PHP does not destry sessions by itself. It's up to you to manage the "life" of a session. if($_SESSION['last_seen'] && ($_SESSION['last_seen'] < time(

RE: [PHP] Re: PHP Session register variable not always restored with contents

2002-10-26 Thread Victor Soroka
On Thu, 24 Oct 2002 21:26:30 +, John W. Holmes wrote: > What is supposed to be in the session? Maybe these users are just > denying cookies? Maybe... But my php compiled with --use-trans-sid and use this feature. In the session i store account, access timestamp etc... P.S. And 10% of traffic

RE: [PHP] Re: PHP Session register variable not always restored with contents

2002-10-24 Thread John W. Holmes
What is supposed to be in the session? Maybe these users are just denying cookies? ---John Holmes... > -Original Message- > From: Victor Soroka [mailto:vs240@;yahoo.com] > Sent: Thursday, October 24, 2002 10:08 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: PHP Session re

[PHP] Re: PHP Session register variable not always restored with contents

2002-10-24 Thread Victor Soroka
I have same troubles!!! I use php internet trade traffic system, and 10-20% of visitors lose their sessions data. Cut from logs: Remote address: ## Referer: http://mydomain.com/ URI: /out.php?id=1&PHPSESSID=235a91cef853e750a6b67a70375e7d88 User-agent: Mozilla/4.0 (compatible; MSIE 5.5; Win

[PHP] Re: PHP session / JavaScript conflict

2002-04-23 Thread Yasuo Ohgaki
Larry Linthicum wrote: > I am finding that the simple > > is causing pages with JavaScript menus to load with 'error on page" and the > JavaScript to not work > > the session without the JavaScript seems fine, as does the JavaScript > without the session ( I can do other things in PHP without c

[PHP] Re:[PHP] Session Question

2001-07-15 Thread Tom Malone
Thanks Christopher! I chmoded the directory to 777 like you said, and it worked fine, but then I took your advice regarding security and put all the data in a MySQL database. Thank you very much for your help! Tom Malone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail