1,105,633 Community Members

How to prevent login if browser cookie disabled

Member Avatar
thunderstorm98
Veteran Poster
1,116 posts since Nov 2006
Reputation Points: 74 [?]
Q&As Helped to Solve: 30 [?]
Skill Endorsements: 0 [?]
 
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.

Member Avatar
florinfratica
Newbie Poster
4 posts since Jul 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
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.

Member Avatar
thunderstorm98
Veteran Poster
1,116 posts since Nov 2006
Reputation Points: 74 [?]
Q&As Helped to Solve: 30 [?]
Skill Endorsements: 0 [?]
 
0
 

Will try it...Thanks for reply.

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