DMXzone Security Provider PHP Support Product Page

Answered

is there any way can let the "SECURITY.identity" used by every page

Asked 23 Jun 2014 08:02:26
1
has this question
23 Jun 2014 08:02:26 包 四維 posted:
[before login] www.littlebau.com/login01.gif
[after login] www.littlebau.com/login02.gif
[mysql value] www.littlebau.com/login03.gif

well...I want to ask...
I found the "{{$SECURITY.identity}}" seem only work in "login page",if I manually change to other page after login success,the value will still empty
is there any way can let this value used by every page,just like the pure PHP way such like "$_SESSION['xxx']" or "$_GLOBAL['xxx']" or need to include any .js or .php file in order to achieve this function ?

Replies

Replied 30 Jun 2014 09:22:40
30 Jun 2014 09:22:40 Teodor Kuduschiev replied:
Hello,
I am not sure i understand the issue. The security.identity is a session variable, so it is accessible on ALL of your site pages. Please describe step by step what exactly are you doing?
Replied 30 Jun 2014 14:04:54
30 Jun 2014 14:04:54 包 四維 replied:
hi Teodor
well..
let me explain again

[step 1,before login] www.littlebau.com/login01.gif
[step 2,after login,have {{$SECURITY.identity}} in login.html] www.littlebau.com/login02.gif
[step 3,mysql value,have the same value with step 2] www.littlebau.com/login03.gif
[step 4,I set the {{$SECURITY.identity}} in index.html] www.littlebau.com/login04.gif
[step 5,but the {{$SECURITY.identity}} still have no value in index.html] www.littlebau.com/login05.gif
Replied 30 Jun 2014 14:12:03
30 Jun 2014 14:12:03 Teodor Kuduschiev replied:
Did you try this on your hosting, not only localhost? Maybe something is not properly configured on your localhost server.
Replied 30 Jun 2014 14:17:48
30 Jun 2014 14:17:48 包 四維 replied:
OK...
I will try in remote hosting
feedback later...
Replied 01 Jul 2014 06:18:14
01 Jul 2014 06:18:14 包 四維 replied:
hi Teodor
I found a way can let the "{{$SECURITY.identity}}" have value in other page (not only the login page)
localhost and remote have the same situation
The following code is all Necessary
Replied 01 Jul 2014 06:43:30
01 Jul 2014 06:43:30 Teodor Kuduschiev replied:
Hello,
Of course it is required to have the security provider an html5 data binings applied on the pages that you are using security.identity on...
Replied 19 Feb 2024 02:09:48
19 Feb 2024 02:09:48 User  replied:
Hi all! With over 145 years of security experience, ADT has set the benchmark for quality. Over the years, they have honed their expertise by constantly adapting to the ever-changing nature of crime and security issues, and in adt reviews users rate both the company's products and their security services highly. ADT's team of highly trained professionals have a deep understanding of the complex details involved in home and business security and can provide reliable protection.

Reply to this topic