Treehouse: Grow your CSS skills. Land your dream job.

Form post without a HTML form?

  • __
    # September 1, 2012 at 8:21 pm

    have you tried configuring your sessions to apply across subdomains?
    This is the ideal solution, and should work just fine… I’ve never had problems

    < ?php
    $sess_lifetime = 0; // explires when browser closes (default)
    $sess_path = '/'; // root of domain (default)
    $sess_domain = ''; // < -- NOTE LEADING DOT
    session_set_cookie_params( $sess_lifetime,$sess_path,$sess_domain );
    # September 2, 2012 at 4:49 am

    I have googled a lot, so I know about the session method. That is the method I use on the main domain, and I want to transfer, but my host won’t allow me access to a certain file so I can’t apply it to subdomains..

    # September 2, 2012 at 3:11 pm

    what “certain file” are you referring to? have you tried something like the example I gave above?

Viewing 3 posts - 16 through 18 (of 18 total)

You must be logged in to reply to this topic.