Re: [Phplib-users] duplicate session
Brought to you by:
nhruby,
richardarcher
|
From: Stephen W. <wo...@sw...> - 2002-03-20 17:25:26
|
Joost,
Do you need to do a close page on the popup window?
If you didn't wouldn't that solve this problem?
-Steve
joost wrote:
>
> Hi,
>
> I'm wondering how to solve a problem.
>
> In my app (using auth, user, sess) I open a second window to handle a record
> update. So, I'm having two windows open within the same session. After
> updating the parent refreshes (updating to the new contents), and the second
> closes. I then get the following error (most -not all- of the times) in the
> parent.
>
> Database error: Invalid SQL: insert into active_sessions ( sid, name, val,
> changed ) values ('c14cbf141ab1b7cd009356f555b607dc', 'Example_User',
> 'RXhhbXBsZV9Vc2VyOiR0aGlzLT5pbiA9ICcnOyAkdGhpcy0+cHQgPSBhcnJheSgpOyA=',
> '20020320174800')
> MySQL Error: 1062 (Duplicate entry
> 'Example_User-c14cbf141ab1b7cd009356f555b607dc' for key 1)
> Session halted.
>
> This is probably the same situation when phplib is used within a frameset (a
> single session active in more than one page).
> I've browsed the mailinglist archives but didn't find anything that could
> help me out. :o)
>
> All help would be appreciated!
>
> TIA,
>
> Joost
>
> _______________________________________________
> Phplib-users mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phplib-users
|