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
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.
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
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
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
>
"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...
>
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
"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
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
"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
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
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
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
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
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
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
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
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
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
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
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
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
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(
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
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
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
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
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
28 matches
Mail list logo