Thanks Skylar,
One more semi-related question for anyone keen, if the iPhone is
sending me a cookie with the session id in it, would I get it in a
similar way?
Eg:
session_key = request.COOKIES['session_id']
session = Session.objects.get(session_key=session_key)
uid =
User.objects.get(pk=Session.objects.get(pk=session_id).get_decoded()
['_auth_user_id']) via @SmileyChris
On Sep 28, 9:36 pm, Danny Bos wrote:
> Heya,
>
> I've got a Django application talking to an iPhone sending photos and
> User data back and forth. I figured the best
Heya,
I've got a Django application talking to an iPhone sending photos and
User data back and forth. I figured the best way to approach this
(tell me otherwise) was to log the user in on the server and pass the
iPhone back the 'session ID' in a JSON array.
Then when the iPhone sends me back
3 matches
Mail list logo