.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Forum De Bell Tolls (http://www.dsy.it/forum/forumdisplay.php?forumid=7)
-- [php - aiuto]Configurazione php.ini x usare le sessioni (http://www.dsy.it/forum/showthread.php?threadid=11590)


Posted by daddyrho on 16-06-2004 10:20:

[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!:D

grazie dell'aiuto,ciao!!

__________________
()


Posted by unidavide on 16-06-2004 17:45:

solitamente, se non devi fare cose particolari basta che setti
session.save_path =
ad una directory temporanea dove verranno memorizzati i file di sessione


Posted by daddyrho on 17-06-2004 08:37:

la directory è settata...x il momento sto gestendo tutto via GET...ma non mi piace tantissimo come scelta....:?
il dubbio permane...

__________________
()


Posted by korn on 17-06-2004 08:44:

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.


Posted by JaM on 17-06-2004 08:54:

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.


All times are GMT. The time now is 04:44.
Show all 5 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.