Set request.session.modified = True
2012/4/24 sspross :
> Hi Joshua
>
> What was your solution here? It looks like I'm having the same kind of
> problem like you:
>
> http://stackoverflow.com/questions/10293467/losing-session-after-httpresponseredirect
>
> Thx!
>
> Regards,
> Silvan
>
> On Wednesd
Hi Joshua
What was your solution here? It looks like I'm having the same kind of
problem like you:
http://stackoverflow.com/questions/10293467/losing-session-after-httpresponseredirect
Thx!
Regards,
Silvan
On Wednesday, April 1, 2009 4:47:17 AM UTC+2, Joshua K wrote:
>
> Howdy Folks,
>
> How
Daniel, thanks for the note - I found out that it does work as I
expected.
Bro, thanks for the hint - but in this case a 'client' is not the same
person who is logged in.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
Hi Josh,
I think the best is after you create a client,
he should log in.
When the client log in, you can use : request.user
to get user information.
Good luck
Bro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
On Apr 1, 3:47 am, Joshua K wrote:
> Howdy Folks,
>
> How do I get a session to live through a HttpResponseRedirect? For
> example:
>
> form = clientFormCreate(request.POST)
> if form.is_valid():
> newClient = form.save()
> request.sesson['current_client']
Howdy Folks,
How do I get a session to live through a HttpResponseRedirect? For
example:
form = clientFormCreate(request.POST)
if form.is_valid():
newClient = form.save()
request.sesson['current_client'] = str(newClient.pk)
return HttpResponse
6 matches
Mail list logo