Results 1 to 4 of 4

Thread: PHP Sessions....

  1. #1
    Join Date
    Oct 2001

    PHP Sessions....

    Does anyone know how the string for a PHP session is generated? Is it random or are there algorithms... Is it possible to edit the data inside a session so the next user to log into the site gets that data.... And last but not least is there a way to make the session numbers incremential... 1, 2, 3, 4... etc

    Oh! And 1 more thing... Is there a way to predict the number of the next session used?

  2. #2
    Join Date
    Jun 2002
    Spectrum, man, you gotta get something like "php bible" or "programming php" which is co-authored by the creator of php. Anyways, they're both really complete, and would give you all the knowledge you require. I'm reading programming php, it is awesome, it has info on everything from basic language structure to using COM objects. Trust me, you'll get a lot of help from a good php book.

  3. #3
    string session_id ([string id])

    session_id() returns the session id for the current session. If id is specified, it will replace the current id.

    You can down load the PHP Manual from

    or try out phpbuilder or zend

  4. #4
    I'm a newbie to php too! Don't worry.. However, right now my niche is Perl and VisualBasic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts