[PHP] session duration

2002-07-01 Thread Ivan Voras

Is there a way to programatically (inside a session) change session duration
for the current session only? (using cookie-based sessions) ?

--


- Ivan Voras  -
- If I knew what I was doing, it wouldn't be called "research". -- R. P.
Bergman -




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: session duration

2002-07-02 Thread Ivan Voras

"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:20020702092207.GERZ903.sccrmhc03.attbi.com@[192.168.1.103]...
> >Is there a way to programatically (inside a session) change session
duration
> >for the current session only? (using cookie-based sessions) ?
>
> Wild Guess:
>
> What if you use the PHP functions to alter the php.ini value for session
> time out in that script before you call session_start()?...

maybe, but that would change the duration for ALL follwing sessions...?

> PHP is just sending Cookies with the session ID and a time-frame for their

not just. There is the matter of session variables that are serialized into
files on the filesystem, and garbage collected when sessions expire...


> This is just *SOOO* wrong to do, but it may let you limp by until you come
> up with a better answer...

probably not :)

I am very surprised that such capability is missing from php!



--
--
Ashes to ashes, DOS to DOS
ivoras @ fer.hr



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php+java on freebsd

2002-04-02 Thread Ivan Voras

Can anyone tell me how to get java support for php working? I compiled
apache with -pthread option, I properly configured php.ini
(phpinfo() agrees), but I cannot overcome this:

(the message appears as a PHP error when trying to create any java objects)

Fatal error: Unable to load Java Library
/usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so, error:
/usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol
"fmod" in /usr/home/ivoras/public_html/jver.php on line 4

apparently, libjava.so links to a symbol 'fmod', which is in libm.so, but
libjava.so is
not linked to use libm.so. (?) (all jdk1.1.8 binaries are actually using
compat3x libraries)

(I have no preference for a JDK, I just need the stuff working.)

--
--
Ashes to ashes, DOS to DOS
ivoras @ fer.hr




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] free cache/accelerator for php5?

2004-11-25 Thread Ivan Voras
Hi!
Is there any free php cache/accelerator that works with php5? I was 
using turck-mmcache with 4.x, but it's buggy with php5 (old-style class 
constructors don't get called on cached classes), and the development 
seems to be stalled.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php