Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-16-2004, 04:38 PM   #1 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
Some quick help decyphering phpinfo()

I am looking at this line in my development server's phpinfo echo:
Quote:
session.cache_expire 180
Is that minutes? So my server can support a session login for 2 hours until it is dropped and needs setting back up? (user logs back in)
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Old 11-16-2004, 06:49 PM   #2 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
http://us2.php.net/session

Should be 3 hours.

Quote:
session.cache_expire integer

session.cache_expire specifies time-to-live for cached session pages in minutes, this has no effect for nocache limiter. Defaults to 180. See also session_cache_expire().
Quote:
Note: Setting new_cache_expire is of value only, if session.cache_limiter is set to a value different from nocache.
By default the session.cache_limiter is set to `nocache`, so you don't have to worry about the 180 minute expiration.

Linky contains a pretty good user-contributed description of cache use.

-r
idx is offline   Reply With Quote
Old 11-17-2004, 08:46 AM   #3 (permalink)
DavH27
PHP Pilgrim
 
DavH27's Avatar
 
Join Date: Aug 2004
Location: London
Posts: 170
DavH27 is on a distinguished road
Oh damn of course 60 + 60 + 60 = 180 >_<

That's what happens when you try simple math at half 1AM!

Thanks idx.
__________________
Davy - Programming since 1998 [CV]
Currently working on: n/a
Status: n/a
DavH27 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
It was about time for a Quick Reply around here . . . sde Lounge 6 03-18-2004 09:25 PM
Quick way to select a random array element? Epsilon PHP 4 03-11-2004 04:49 PM
quick & dirty app for xp sde Windows 6 07-25-2003 07:43 PM
Quick Reply Box Admin Feedback 2 07-09-2003 07:15 AM
Quick anti-aliasing question ntws01 Java 2 03-20-2003 06:00 PM


All times are GMT -8. The time now is 08:27 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting