• home
  • forum
  • my
  • kt
  • download
  • Learning Sessions

    Author: 2007-08-11 10:32:45 From:

    Welcome, today we will be learning sessions.
    What are sessions?
    Sessions are basicly cookies with a fallback, they end when you close you're browser.
    You can use sessions to store data.
    To use sessions you have to first use this code at the top of you're page:
    Code:
    <?
    session_start();
    ?>


    to set a session you use this code:
    Code:
    <?
    session_start();
    $_SESSION['session_name'] = 'session data';
    ?>

    discuss this topic to forum

    relation tutorial

    No relevant information

    Category

      Ad Management (4)
      Calendars (3)
      Chat Systems (7)
      Content Management (6)
      Cookies and Sessions (8)
      Counters (8)
      Database Related (8)
      Date and Time (9)
      Development (6)
      Discussion Boards (7)
      E Commerce (6)
      Email Systems (9)
      Error Handling (5)
      File Manipulation (10)
      Flash and PHP (4)
      Form Processing (7)
      Guestbooks (8)
      Image Manipulation (3)
      Installing PHP (5)
      Introduction to PHP (9)
      Link Indexing (6)
      Mailing List Management (8)
      Miscellaneous (10)
      Networking (6)
      News Publishing (6)
      OOP (8)
      PEAR (6)
      PHP vs Other Languages (2)
      Polls and Voting (5)
      Postcards (0)
      Randomizing (8)
      Redirection (8)
      Searching (6)
      Security (6)
      Site Navigation (7)
      User Authentication (10)
      WAP and WML (7)
      Web Fetching (0)
      Web Traffic Analysis (11)
      XML and PHP (0)

    New

    Hot