On Sat, Jun 4, 2011 at 3:27 AM, Jimmy wrote:
> I'm new to Django and not quite understand your explanation.
>
> How can I create a specific session_key, and access to the session by
> that key? Any risk that I have if I expose the session_key to the
> outside?
>
> Thank you.
>
> Best regards,
> Li
I'm new to Django and not quite understand your explanation.
How can I create a specific session_key, and access to the session by
that key? Any risk that I have if I expose the session_key to the
outside?
Thank you.
Best regards,
Li Jiaming
On May 31, 7:47 pm, Tom Evans wrote:
> On Sat, May 2
On Sat, May 28, 2011 at 4:00 AM, Jimmy wrote:
> Hi,
>
> I have following code to set self-defined session_key:
>
from django.contrib.sessions.backends.db import SessionStore
from django.contrib.sessions.models import Session
a = SessionStore(session_key="fwefwejfo3j20jf02jnfweojfeo"
btw, I use Django-1.3. Is this a bug?
On May 28, 11:00 am, Jimmy wrote:
> Hi,
>
> I have following code to set self-defined session_key:
>
> >>> from django.contrib.sessions.backends.db import SessionStore
> >>> from django.contrib.sessions.models import Session
> >>> a = SessionStore(session_key
Hi,
I have following code to set self-defined session_key:
>>> from django.contrib.sessions.backends.db import SessionStore
>>> from django.contrib.sessions.models import Session
>>> a = SessionStore(session_key="fwefwejfo3j20jf02jnfweojfeo")
>>> a.save()
>>> a.session_key
'a6e020a64789b5644e923c
5 matches
Mail list logo