Welcome Guest, Not a member yet? Register   Sign In
Core Auth Library
#30

[eluser]Circuitbomb[/eluser]
Storing email in a session is application specific, because you have to consider what the uses of having such a string in the session will be used for in the first place. An extra unique variable (md5()email), would help decrease the chances of some attack vectors such as request forgery if it was used as a hidden user specific unique key in form submissions.

Storing an email session side could limit the amount of calls to a database if the system has a heavy amount of traffic. Grabbing a session var would be faster than calling the database in most cases, and likely done with less code since to set the var in the first place would only really require one call with each session creation.

Performance issues can always be tweaked in php.ini settings as well, if the developer has access to those configurations, and in some cases if they do not, within .htaccess.

As with what thody stated, I couldn't imagine a member system which did not require an email address. The applications for that information simply cover a wide array of usefulness (password recovery, newsletters, verification, and an additional unique identifier in the database). Unless the system had no need to use it, then of course it would be omitted.


Messages In This Thread
Core Auth Library - by El Forum - 08-12-2009, 08:53 AM
Core Auth Library - by El Forum - 08-12-2009, 10:44 AM
Core Auth Library - by El Forum - 08-12-2009, 11:00 AM
Core Auth Library - by El Forum - 08-12-2009, 11:54 AM
Core Auth Library - by El Forum - 08-12-2009, 12:05 PM
Core Auth Library - by El Forum - 08-12-2009, 12:32 PM
Core Auth Library - by El Forum - 08-12-2009, 12:45 PM
Core Auth Library - by El Forum - 08-12-2009, 12:49 PM
Core Auth Library - by El Forum - 08-12-2009, 01:04 PM
Core Auth Library - by El Forum - 08-12-2009, 01:24 PM
Core Auth Library - by El Forum - 08-12-2009, 03:07 PM
Core Auth Library - by El Forum - 08-12-2009, 05:12 PM
Core Auth Library - by El Forum - 08-12-2009, 06:01 PM
Core Auth Library - by El Forum - 08-12-2009, 06:57 PM
Core Auth Library - by El Forum - 08-12-2009, 07:41 PM
Core Auth Library - by El Forum - 08-12-2009, 08:15 PM
Core Auth Library - by El Forum - 08-13-2009, 07:25 AM
Core Auth Library - by El Forum - 08-14-2009, 02:56 AM
Core Auth Library - by El Forum - 08-14-2009, 04:56 AM
Core Auth Library - by El Forum - 08-14-2009, 08:12 AM
Core Auth Library - by El Forum - 08-14-2009, 08:18 AM
Core Auth Library - by El Forum - 08-14-2009, 08:19 AM
Core Auth Library - by El Forum - 08-14-2009, 08:29 AM
Core Auth Library - by El Forum - 08-14-2009, 08:51 AM
Core Auth Library - by El Forum - 08-14-2009, 09:02 AM
Core Auth Library - by El Forum - 08-14-2009, 09:19 AM
Core Auth Library - by El Forum - 08-14-2009, 09:33 AM
Core Auth Library - by El Forum - 08-14-2009, 11:23 AM
Core Auth Library - by El Forum - 08-14-2009, 11:49 AM
Core Auth Library - by El Forum - 08-14-2009, 12:38 PM
Core Auth Library - by El Forum - 08-14-2009, 12:56 PM
Core Auth Library - by El Forum - 08-14-2009, 01:07 PM
Core Auth Library - by El Forum - 08-14-2009, 01:10 PM
Core Auth Library - by El Forum - 08-14-2009, 02:21 PM
Core Auth Library - by El Forum - 08-14-2009, 06:39 PM
Core Auth Library - by El Forum - 08-16-2009, 01:38 AM
Core Auth Library - by El Forum - 08-16-2009, 06:02 AM
Core Auth Library - by El Forum - 08-16-2009, 09:02 AM
Core Auth Library - by El Forum - 08-16-2009, 11:18 AM
Core Auth Library - by El Forum - 08-16-2009, 01:17 PM
Core Auth Library - by El Forum - 08-16-2009, 01:37 PM
Core Auth Library - by El Forum - 08-16-2009, 03:12 PM
Core Auth Library - by El Forum - 08-16-2009, 04:03 PM
Core Auth Library - by El Forum - 08-16-2009, 06:23 PM
Core Auth Library - by El Forum - 08-16-2009, 07:01 PM
Core Auth Library - by El Forum - 08-21-2009, 01:15 AM
Core Auth Library - by El Forum - 08-21-2009, 05:06 AM
Core Auth Library - by El Forum - 08-22-2009, 07:04 AM
Core Auth Library - by El Forum - 08-22-2009, 07:45 AM
Core Auth Library - by El Forum - 08-22-2009, 04:29 PM
Core Auth Library - by El Forum - 08-22-2009, 07:12 PM
Core Auth Library - by El Forum - 08-23-2009, 05:43 AM
Core Auth Library - by El Forum - 08-24-2009, 06:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB