Loading ...
Sorry, an error occurred while loading the content.

PHP SESSION OUT

Expand Messages
  • venkateshwaran@softhome.net
    Hi, How to find out the current session is going to be expired in php? is there any func available like session_start(); for the session end() ?.. I have to
    Message 1 of 3 , Jul 4, 2003
    • 0 Attachment
      Hi,

      How to find out the current session is going to be expired in php?
      is there any func available like session_start(); for the session
      end() ?..
      I have to call a subroutine on the session out..
      is there any ways to the problem ?.


      Regards,
      Venk.
    • Paul Alapatt
      Hi, Here are the session functions: session_cache_expire - Return current cache expire session_cache_limiter - Get and/or set the current cache limiter
      Message 2 of 3 , Jul 5, 2003
      • 0 Attachment
        Hi,

        Here are the session functions:

        session_cache_expire - Return current cache expire
        session_cache_limiter - Get and/or set the current cache limiter
        session_decode - Decodes session data from a string
        session_destroy - Destroys all data registered to a session
        session_encode - Encodes the current session data as a string
        session_get_cookie_params - Get the session cookie parameters
        session_id - Get and/or set the current session id
        session_is_registered - Find out whether a global variable is registered
        in a session
        session_module_name - Get and/or set the current session module
        session_name - Get and/or set the current session name
        session_readonly - Begin session - reinitializes frozen variables, but
        no writeback on request end
        session_register - Register one or more global variables with the
        current session
        session_save_path - Get and/or set the current session save path
        session_set_cookie_params - Set the session cookie parameters
        session_set_save_handler - Sets user-level session storage functions
        session_start - Initialize session data
        session_unregister - Unregister a global variable from the current
        session
        session_unset - Free all session variables
        session_write_close - Write session data and end session


        Take care,
        Paul Alapatt


        ================
        BernardLabs.com


        -----Original Message-----
        From: venkateshwaran@... [mailto:venkateshwaran@...]
        Sent: Saturday, July 05, 2003 1:54 AM
        To: in-phpug@yahoogroups.com
        Subject: [in-phpug] PHP SESSION OUT


        Hi,

        How to find out the current session is going to be expired in php? is
        there any func available like session_start(); for the session
        end() ?..
        I have to call a subroutine on the session out..
        is there any ways to the problem ?.


        Regards,
        Venk.


        Read Posting Guidelines at
        http://groups.yahoo.com/group/in-phpug/files/guidelines.html
        To unsubscribe from this group, send an email to:
        in-phpug-unsubscribe@yahoogroups.com



        Your use of Yahoo! Groups is subject to
        http://docs.yahoo.com/info/terms/
      • Shantanu Kumar
        Are you talking about expiry of login-sessions? Assuming you are talking about the same -- there is no such thing like the user having logged in as soon as
        Message 3 of 3 , Jul 5, 2003
        • 0 Attachment
          Are you talking about expiry of login-sessions? Assuming you are talking about the same -- there is no such thing like the user having logged in as soon as session_start() has excuted on the server. Rather, you have to maintain a state of logged-in-or-not in a session variable, and you have to decide the user's state using that variable alone. And in both cases (logged-in or logged-out) you have to have the session turned on.

          For the internal session-management of PHP, look at the function list related to sessions, or look at the PHP's source.

          Regards,
          Shantanu

          venkateshwaran@... wrote:
          Hi,

          How to find out the current session is going to be expired in php?
          is there any func available like session_start(); for the session
          end() ?..
          I have to call a subroutine on the session out..
          is there any ways to the problem ?.


          Regards,
          Venk.

          Yahoo! Groups SponsorADVERTISEMENT

          Read Posting Guidelines at
          http://groups.yahoo.com/group/in-phpug/files/guidelines.html
          To unsubscribe from this group, send an email to:
          in-phpug-unsubscribe@yahoogroups.com



          Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


          ---------------------------------
          Do you Yahoo!?
          SBC Yahoo! DSL - Now only $29.95 per month!

          [Non-text portions of this message have been removed]
        Your message has been successfully submitted and would be delivered to recipients shortly.