 |
daddyrho |
[php - aiuto]Configurazione php.ini x usare le sessioni |
16-06-2004 10:20 |
|
 |
daddyrho |
terzo fratello gallagher

Registered: Nov 2001
Posts: 507 (0.06 al dì)
Location: Rho (MI)
Corso: Informatica Triennale
Anno: Finito!
Time Online: 17 Days, 1:28:57 [...]
Status: Offline
Edit | Report | IP: Logged |
[php - aiuto]Configurazione php.ini x usare le sessioni
ciao a tutti
sapete se ci sono delle impostazioni particolari da settare nel file php.ini x usare le sessioni?ora come ora i valori non vengono propagati da pagina a pagina,ma reinizializzati ongi volta!
è la prima volta che ho a che fare con php..ogni consiglio è ben accetto!
grazie dell'aiuto,ciao!!
__________________
()
|
16-06-2004 10:20 |
|
|
|  |
 |
unidavide |
solitamente, se non devi fare cose particolari bas ... |
16-06-2004 17:45 |
|
 |
unidavide |
.arcimaestro.
Registered: Nov 2002
Posts: 373 (0.05 al dì)
Location:
Corso:
Anno:
Time Online: 11 Days, 19:48:07: [...]
Status: Offline
Edit | Report | IP: Logged |
solitamente, se non devi fare cose particolari basta che setti
session.save_path =
ad una directory temporanea dove verranno memorizzati i file di sessione
|
16-06-2004 17:45 |
|
|
|  |
 |
daddyrho |
la directory è settata...x il momento sto gestend ... |
17-06-2004 08:37 |
|
 |
daddyrho |
terzo fratello gallagher

Registered: Nov 2001
Posts: 507 (0.06 al dì)
Location: Rho (MI)
Corso: Informatica Triennale
Anno: Finito!
Time Online: 17 Days, 1:28:57 [...]
Status: Offline
Edit | Report | IP: Logged |
la directory è settata...x il momento sto gestendo tutto via GET...ma non mi piace tantissimo come scelta....
il dubbio permane...
__________________
()
|
17-06-2004 08:37 |
|
|
|  |
 |
korn |
Nella cartella dove hai installato PHP ci dovrebbe ... |
17-06-2004 08:44 |
|
 |
korn |
SET FIRE!

Registered: Jun 2002
Posts: 5793 (0.69 al dì)
Location: Milano
Corso: Comunicazione Digitale
Anno: 1°! ....fuori corso :(
Time Online: 37 Days, 5:56:42 [...]
Status: Offline
Edit | Report | IP: Logged |
Nella cartella dove hai installato PHP ci dovrebbe essere una sottocartella chiamata "sessiondata" o qualcosa di simile: le hai dato i permessi di scrittura?
Altra cosa: se il browser del client ha i cookies disabilitati, le sessioni non funzionano.
__________________
» Collect some stars to shine for you, and start today ‘cause there are only a few. _ (In Flames)
» Don't stop for nothing, it's full speed or nothing! I'm taking down, you know, whatever is in my way! _ ('tallica)
» I am my own god, I do as I please. _ (Pain)
» Ninetynine, ninetynine knives! Ninetynine knives inside! Nobody gets out alive! _ (The Haunted)
Web: http://www.negativesignal.com - ICQ# 171585477 - Death to software patents! And TCPA too! "e uno!", diceva il boia.
|
17-06-2004 08:44 |
|
|
|  |
 |
JaM |
nelle ultime versioni di php le register globals s ... |
17-06-2004 08:54 |
|
 |
JaM |
######

Registered: Jun 2002
Posts: 3604 (0.43 al dì)
Location: everywhere, anywhere, elsewhere...
Corso: ComDig
Anno: dott.??
Time Online: 62 Days, 16:55:46 [...]
Status: Offline
Edit | Report | IP: Logged |
nelle ultime versioni di php le register globals sono disattivate per motivi di sicurezza.
Trova la voce
register_globals = Off
e mettila a On
; - register_globals = Off [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be depracated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.
|
17-06-2004 08:54 |
|
|
|  |
 |
All times are GMT. The time now is 18:38. |
|
|
 |
|
 |
|
|
|  |
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|