NYCPHP Meetup

NYPHP.org

[nycphp-talk] ASP to PHP translation

Nestor Florez nestorflorez at earthlink.net
Mon Nov 10 11:39:44 EST 2003


People,

I am trying to translate a ASP site to PHP, but I encounter is ASP some code
for session time out.  Is there session time out variable in php
so that the php automatically logout after certain of ianctivity?

This is the ASP code:
--------------------------
Response.Expires = -1000 'Makes the browser not cache this page
Response.Buffer = True 'Buffers the content so our Response.Redirect will work

'-----setting session timeout to 1400 minutes----
Session.Timeout = 1400
--------------------------


Thanks,

Nestor :-)






More information about the talk mailing list