I am getting a very similar problem when simply going between views
(all within the same domain), so it may be nothing to do with iframes.
I have put in a trace and can see that in some cases you enter the
view with all session variables set and when the session is next saved
all the variables have been  cleared.


On Jan 5, 10:57 pm, Berco Beute <cybe...@gmail.com> wrote:
> This one still has me flabbergasted. It may be a browser restriction
> (firefox 3), but there is no way I can have the iFrame redirect the
> parent page to another page in the same domain (as the previous parent
> page) without invalidating thesession. Is there maybe another common
> solution for iFrames to give back control to the parent page?
>
> 2B
>
> On Jan 5, 10:43 am, Berco Beute <cybe...@gmail.com> wrote:
>
> > The iFrame is from a different domain, which is likely causing the
> > problem. I can see that thesessionis lost since the logged in user
> > is suddenly logged out.
>
> > 2B
>
> > On Jan 5, 1:15 am, Daniel Roseman <roseman.dan...@googlemail.com>
> > wrote:
>
> > > Personally, I can't see how that redirect could be causing asession
> > > to be 'lost'. As long as you stay within the same domain, yoursession
> > > should remain valid. Are you sure that you are using 'localhost:8000'
> > > as the original address as well as the redirected one? How are you
> > > ascertaining that thesessionis being lost?
> > > --
> > > DR.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to