|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-03 04:16 UTC] sb at bpm dot ch
In IE6 we have on some PCs the problem that the session data will not saved: First page: session_start(); $User = "root"; session_register(User); Second page: session_start(); echo "$User"; Now nothing will displayed... :-( This Problem occures only in IE6 an never in IE5.x Stephan PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 08:00:02 2025 UTC |
I thing, you forgot to place quotes around variable name Instead of session_register(User); BAD use session_register("User"); OKFYI, hostnames with a _ in there are not even allowed. From Appendix 1 of RFC 882: <domain> ::= <subdomain> | " " <subdomain> ::= <label> | <subdomain> "." <label> <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ] <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str> <let-dig-hyp> ::= <let-dig> | "-" <let-dig> ::= <letter> | <digit> <letter> ::= any one of the 52 alphabetic characters A through Z in upper case and a through z in lower case <digit> ::= any one of the ten digits 0 through 9