Zhimeng plusdiy. php: I want to add the administrator logon permission to this page. only after the administrator logs on can the plus/diy. php page be displayed.
I have successfully logged on to the dede/login page.
If ($ res = 1) {$ _ SESSION ["dengluguo"] = 4; $ cuserLogin-> keepUser (); if (! Empty ($ gotopage) {ShowMsg ('successfully logged on, is switching to the management homepage! ', $ Gotopage); exit ();} else {ShowMsg (' successfully logged on, switching to the management homepage! ', "Index. php"); exit ();}}
$ _ SESSION ["dengluguo"] = 4 is assigned for logon. Why can't I find it on the diy. php page?
Echo $ _ SESSION ["dengluguo"]; no
$ _ SESSION is released only when the browser exits ..
Reply to discussion (solution)
Check whether $ _ COOKIE exists.
Check whether $ _ COOKIE exists.
Is this related to $ _ COOKIE?
The default session of Zhimeng seems to have nothing to write to the cookie.
The default session of Zhimeng seems to have nothing to write to the cookie.
$ _ SESSION ["dengluguo"] = 4; is it useless if I have assigned a value?
Hello, I have something to ask you. can you contact xiamama? My 18664821547