[Seaside] Fatal Flaw in my Web App!

John Thornborrow john at pinesoft.co.uk
Fri May 23 13:25:11 UTC 2008

I usually store my glorp session on the seaside session, and upon 
expiring, it sends logout to the glorp session.

This has the dual benefit of the above, and having easy accessor to 
glorp in the form of:

self session glorpSession

anywhere in my Tasks/Components.


Richard Eng wrote:
> I just discovered a fatal flaw in my web app. By chance, I was looking 
> at the PostgreSQL database for my app, which uses GLORP. When I did the 
> following in PSQL:
> I discovered much to my horror that the DB connections from previous 
> logins/logouts were still lingering around. I had assumed that they'd 
> timeout and go away. When I logout, I do a session expire, and I thought 
> this takes care of all GLORP issues. Apparently, I was dead wrong!
> Is there a nice easy way for me to solve this without doing major 
> surgery to my web app? At the time of logout (or even Seaside session 
> timeout), I do not necessarily have access to the GLORP instance variables.
> Thanks,
> Richard
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

John Thornborrow

This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************

Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA

More information about the seaside mailing list