Previous Next

Thread: PHP won't create session Cookies

Last post 07-22-2008 7:26 PM by brashquido. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 07-21-2008, 3:15 PM

    • pinardi
    • Not Ranked
    • Joined on 07-21-2008, 7:12 PM
    • Posts 1

    PHP won't create session Cookies

    I recently installed php 5  on a windows 2003 server box with iis 6. Everything works fine including sessions, but for some reason it just won't create any session cookies. Use_Session_cookies is enabled. Are there any sugestions on what I might do to fix this problem.

    session.auto_start Off Off
    session.bug_compat_42 Off Off
    session.bug_compat_warn On On
    session.cache_expire 180 180
    session.cache_limiter nocache nocache
    session.cookie_domain no value no value
    session.cookie_httponly Off Off
    session.cookie_lifetime 0 0
    session.cookie_path / /
    session.cookie_secure Off Off
    session.entropy_file no value no value
    session.entropy_length 0 0
    session.gc_divisor 1000 1000
    session.gc_maxlifetime 1440 1440
    session.gc_probability 1 1
    session.hash_bits_per_character 5 5
    session.hash_function 0 0
    session.name PHPSESSID PHPSESSID
    session.referer_check no value no value
    session.save_handler files files
    session.save_path C:\PHP\Sessions C:\PHP\Sessions
    session.serialize_handler php php
    session.use_cookies On On
    session.use_only_cookies Off Off
    session.use_trans_sid 0 0

     

  • 07-22-2008, 7:26 PM In reply to

    Re: PHP won't create session Cookies

     Is your "C:\PHP\Sessions" directory writeable by your IIS user account?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (2 items)
Page view counter