Looking at http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/__init__.py#L46 it doesn't look like it clears the session. It *does* generate a new key, but that shouldn't affect anything. It should only take you about two minutes to test it though--just try it out.
-Jeff On Dec 19, 6:18 pm, "j...@zigzap.com" <jlb2...@gmail.com> wrote: > Does django maintain session variables when logging in or does it > generate a new session when you use the built in authentication. > Essentially I want to be able to assign session values to an Anonymous > User and be able to carry them through when they log in. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---