SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have PHP running as an apache module and I don't have a php.ini.
    My problem is that I can't get the registered session id to carry over
    from the second page to the third page without including the id as
    a hidden input tag on the next page. I followed to the letter what
    kyank wrote in his article and I stiill get the same results. Shouldn't
    the access.php file reference the cookie in the /tmp file which should
    contain the cookie info.

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the /tmp file holds the actual session data, the cookie is what stores the session id that is used to reference the session data. You can create your own session handler that is used to store session data in a database, but from your post I gather that is not the problem. It seems as though the session functions are misbehaving, are you sure you have cookies on in your browser?
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    SitePoint Member
    Join Date
    Feb 2001
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It appears that session.use_cookies is not in php.ini and that PHP is running as a Apache module
    and the session.use_cookies is not listed in the Apache binary.
    My host provider will not re.configure Apache/PHP. so a cookkie cannot be set is there a workaround in PHP.


Bookmarks

Posting Permissions

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