<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Ciao a tutti<br>
    mi sta venendo un dubbio:<br>
    Quello che vi ho postato,qualche giorno fa, era solo un esercizio
    per  capire come implementare le
    sessioni.Ovviamente,nell'applicazione reale  ho pagine che si
    nterfacciano con l'utente  che,a loro   volta caricano (azione
    submit di un form) altre pagine contenenti solo script php  che
    gestiscono  solo  i dati  su mysql  senza interfacciarsi con
    l'utente;secondo voi,puo' avere senso  controllare la sessione in
    pagine di questo tipo?<br>
    Ciao e grazie<br>
    <div class="moz-cite-prefix">Il 05/12/2013 19:31, Mirko ha scritto:<br>
    </div>
    <blockquote
cite="mid:CAAtCncOC1PvaWHGSR2EGy9YGCjaKjuwLpmD5XoY1urHbbGzmaQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Scusate @Tutti la doppia mail.
        <div>><span
            style="font-family:arial,sans-serif;font-size:13px">non e' 
            che ho qualcosa di strano in php.ini?</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">Controlla
            l'error log e avrai la tua risposta, le cose so due: o è il
            browser o è il server.</span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px"><br>
          </span></div>
        <div><span style="font-family:arial,sans-serif;font-size:13px">Come
            dice questo tipo su StackOverflow (</span><a
            moz-do-not-send="true"
            href="http://stackoverflow.com/questions/8976930/php-session-not-saving">http://stackoverflow.com/questions/8976930/php-session-not-saving</a>)</div>
        <div>Controlla se la directory dove vengono scritte le sessioni
          è scrivibile.</div>
        <div>if (!is_writable(session_save_path()) {</div>
        <div><span class="" style="white-space:pre"> </span>echo
          'Session path "'.session_save_path().'" is not writable for
          PHP!'; </div>
        <div>}</div>
        <div><br>
        </div>
        <div>Facci sapè :)</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">Il giorno 05 dicembre 2013 19:26, Mirko
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mirkos93@gmail.com" target="_blank">mirkos93@gmail.com</a>></span>
          ha scritto:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Boh! A me funziona tutto alla perfezione.
              <div>Controlla i tuoi cookie e fai un test da una
                navigazione anonima (chrome/firefox) :)<br>
                <div>Mirko</div>
              </div>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                Il giorno 05 dicembre 2013 17:27, Jusi Pomenti <span
                  dir="ltr"><<a moz-do-not-send="true"
                    href="mailto:jusipom@gmail.com" target="_blank">jusipom@gmail.com</a>></span>
                ha scritto:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div text="#000000" bgcolor="#FFFFFF"> eccolo :)
                        chissà cosa  ho combinato!     non e'  che ho
                        qualcosa di strano in php.ini?<br>
                        <br>
                        <br>
                        <div>Il 05/12/2013 16:49, Roberto Polli ha
                          scritto:<br>
                        </div>
                        <div>
                          <div>
                            <blockquote type="cite">
                              <p dir="ltr">Dai.   Chi t trova la
                                soluzione per primo vince un pdf della
                                Cattedrale eil Bazaar firmata
                                digitalmente da me :)))</p>
                              <div class="gmail_quote">On Dec 5, 2013
                                4:47 PM, "Mirko" <<a
                                  moz-do-not-send="true"
                                  href="mailto:mirkos93@gmail.com"
                                  target="_blank">mirkos93@gmail.com</a>>

                                wrote:<br type="attribution">
                                <blockquote class="gmail_quote"
                                  style="margin:0 0 0
                                  .8ex;border-left:1px #ccc
                                  solid;padding-left:1ex">
                                  <div dir="ltr">Non mi faccio mai
                                    sentire, ma anch'io, a disposizione
                                    per dargli un'occhiata, postalo su <a
                                      moz-do-not-send="true"
                                      href="http://pastebin.com"
                                      target="_blank">pastebin.com</a>
                                    :)
                                    <div>Ciao!<br>
                                      <div>Mirko</div>
                                    </div>
                                  </div>
                                  <div class="gmail_extra"> <br>
                                    <br>
                                    <div class="gmail_quote">Il giorno
                                      05 dicembre 2013 14:21, Jusi
                                      Pomenti <span dir="ltr"><<a
                                          moz-do-not-send="true"
                                          href="mailto:jusipom@gmail.com"
                                          target="_blank">jusipom@gmail.com</a>></span>
                                      ha scritto:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex"> Ciao,<br>
                                        ho un problema con  le sessioni
                                         in php e  ho fatto un semplice
                                        sito per provarle.Il  mio
                                        "esperimento" consiste  in:<br>
                                        -  una   pagina in cui l'utente
                                        inserisce il proprio nome per
                                        effetuare il login;<br>
                                        - una pagina con un menu' in cui
                                        si va dopo essersi loggati;<br>
                                        - due  pagine il cui scopo è
                                        quello di stampare il nome
                                         dell'utente loggato;<br>
                                        - una pagina di logout;<br>
                                        - un file in cui ci sono tutte
                                        le procedure php da includere
                                         in tutte le pagine<br>
                                        <br>
                                        purtroppo non funziona (non
                                        "ricorda" il nome); se posto il
                                        codice (zippato?),c'è qualcuno
                                         che puo' spiegarmi dove
                                        sbaglio?<br>
                                        Ciao e grazie<br>
                                        <br>
                                        -- <br>
                                        -------------------------------<br>
                                        Junior Silvestro Pomenti<br>
                                        Latina<br>
                                        <br>
                                        Sito Web: <a
                                          moz-do-not-send="true"
                                          href="http://www.jusipom.it"
                                          target="_blank">www.jusipom.it</a><br>
                                        Email: jusipom(at)<a
                                          moz-do-not-send="true"
                                          href="http://gmail.com"
                                          target="_blank">gmail.com</a><br>
                                               info(at)<a
                                          moz-do-not-send="true"
                                          href="http://jusipom.it"
                                          target="_blank">jusipom.it</a><br>
                                        -------------------------------<br>
                                        <br>
_______________________________________________<br>
                                        <a moz-do-not-send="true"
                                          href="http://www.llg.it"
                                          target="_blank">http://www.llg.it</a><br>
                                        latina mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:latina@lists.linux.it"
                                          target="_blank">latina@lists.linux.it</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.linux.it/listinfo/latina"
                                          target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                                      </blockquote>
                                    </div>
                                    <br>
                                    <br clear="all">
                                    <div><br>
                                    </div>
                                    -- <br>
                                    <div dir="ltr"><span
                                        style="color:rgb(106,168,79)"><a
                                          moz-do-not-send="true"
                                          href="http://www.mirkoprota.info"
                                          target="_blank">http://www.mirkoprota.info</a></span></div>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  <a moz-do-not-send="true"
                                    href="http://www.llg.it"
                                    target="_blank">http://www.llg.it</a><br>
                                  latina mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:latina@lists.linux.it"
                                    target="_blank">latina@lists.linux.it</a><br>
                                  <a moz-do-not-send="true"
                                    href="http://lists.linux.it/listinfo/latina"
                                    target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                                  <br>
                                </blockquote>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                              <pre>_______________________________________________
<a moz-do-not-send="true" href="http://www.llg.it" target="_blank">http://www.llg.it</a>
latina mailing list
<a moz-do-not-send="true" href="mailto:latina@lists.linux.it" target="_blank">latina@lists.linux.it</a>
<a moz-do-not-send="true" href="http://lists.linux.it/listinfo/latina" target="_blank">http://lists.linux.it/listinfo/latina</a>
</pre>
                            </blockquote>
                            <br>
                            <pre cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina

Sito Web: <a moz-do-not-send="true" href="http://www.jusipom.it" target="_blank">www.jusipom.it</a>
Email: jusipom(at)<a moz-do-not-send="true" href="http://gmail.com" target="_blank">gmail.com</a>
       info(at)<a moz-do-not-send="true" href="http://jusipom.it" target="_blank">jusipom.it</a>
-------------------------------</pre>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      <a moz-do-not-send="true" href="http://www.llg.it"
                        target="_blank">http://www.llg.it</a><br>
                      latina mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:latina@lists.linux.it"
                        target="_blank">latina@lists.linux.it</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.linux.it/listinfo/latina"
                        target="_blank">http://lists.linux.it/listinfo/latina</a><br>
                      <br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888"><br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  <div dir="ltr"><span style="color:rgb(106,168,79)"><a
                        moz-do-not-send="true"
                        href="http://www.mirkoprota.info"
                        target="_blank">http://www.mirkoprota.info</a></span></div>
                </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div dir="ltr"><span style="color:rgb(106,168,79)"><a
              moz-do-not-send="true" href="http://www.mirkoprota.info"
              target="_blank">http://www.mirkoprota.info</a></span></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.llg.it">http://www.llg.it</a>
latina mailing list
<a class="moz-txt-link-abbreviated" href="mailto:latina@lists.linux.it">latina@lists.linux.it</a>
<a class="moz-txt-link-freetext" href="http://lists.linux.it/listinfo/latina">http://lists.linux.it/listinfo/latina</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
-------------------------------
Junior Silvestro Pomenti
Latina

Sito Web: <a class="moz-txt-link-abbreviated" href="http://www.jusipom.it">www.jusipom.it</a>
Email: jusipom(at)gmail.com
       info(at)jusipom.it
-------------------------------</pre>
  </body>
</html>