As mentioned in the title he logs in but blocks the rest of the methods. I also user @login_required in one of my view methods. But the login method even blocks the methods without @login_required. I´m trying for days now and can´t find my error. I created the project with a 1.1 alpha version of django.
my view: http://dpaste.com/84541/ from django.contrib.auth import authenticate from django.contrib.auth import login def logmein(request): if request.POST: username = request.POST['username'] password = request.POST['password'] try: user = User.objects.get(username=username) except: user = None; if user is not None: user = auth.authenticate(username=user.username, password=password) if user is not None: if user.is_active: auth.login(request, user) user_login(user) return HttpResponseRedirect(reverse('mysite.kontakftormular.views.kontaktformular')) else: return render_to_response('notvalid.html', locals(), context_instance=RequestContext(request)) return render_to_response('login.html', locals(), context_instance=RequestContext(request)) the user login is indeed valid and activ (i checked the db) also he set ´s last login to the correct date. may the session logs help: cookie sessionid name: sessionid Host: 127.0.0.1 Path: / same is for __utmz and __utma --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

