are you redirecting to the same port?  I think redirection to a
different domain OR port would keep the cookie from getting back to
the server, thus killing your session.

On Jan 3, 10:33 am, Berco Beute <[email protected]> wrote:
> My page shows a (logged in) user an iFrame but when the iframe
> redirects the browser after it's done, the session is lost. The
> redirecting of the parent (by the iframe) is done as follows:
>
> =========================
> <head>
>     <script type="text/javascript">
>         function load() {
>             parent.location.href='http://localhost:8000/somewhere';
>         }
>     </script>
> </head>
> ==========================
>
> Is there a way to keep the session alive (e.g. keep the user logged
> in)?
>
> Thanks,
> 2B
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to