1.11M Members

How to prevent login if browser cookie disabled

 
0
 

In SMF 2.0 forum script what setting is required to prevent login if client end browser cookies are disabled ? Iam currently testing on my own site and SMF is allowing to login even if browser cookie is disabled. For information 'Local storage of cookies' is disabled in SMF settings.

 
0
 

You can use the get_broser() function.
Or you can send a cookie. If it exists, then it means the browser cookie is enabled.

 
0
 

Will try it...Thanks for reply.

Isn't it about time forums rewarded their contributors?

Earn rewards points for helping others. Gain kudos. Cash out. Get better answers yourself.

It's as simple as contributing editorial or replying to discussions labeled or OP Kudos

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: