nu kan det godt være at jeg er lidt dum men jeg har hørt man skal rette noget i php.ini filen. her er den sektion med "Session":
; Handler used to store/retrieve data. session.save_handler = files
; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path = e:\windows\temp
; Whether to use cookies. session.use_cookies = 1
; Name of the session (used as cookie name). session.name = PHPSESSID
; Initialize session on request startup. session.auto_start = 1
; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0
; The path for which the cookie is valid. session.cookie_path = e:\windows\temp
; The domain for which the cookie is valid. session.cookie_domain =
; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php
; Percentual probability that the 'garbage collection' process is started ; on every session initialization. session.gc_probability = 1
; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1440
ok - en anden ting kunne være at man ikke må kalde session_Start(); inde i en funktion da variablerne så ikke bliver globale
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.