Hello,

I'm currently have 2 ideas and ... no idea, how to handle it...

1.) I would like to save a database connection into the session. How that would be done is known, but I want to close the connection in the case, the session is closed. Does someone know, which method should be overwritten in this case?

2.) I want to display an image (picture) to the user, only in the case, the user is logged in. And this image is - for security reasons - not accessible through a normal http-get. It is saved in another path. To achieve this, I think I need access to the session, which means for me, I need a class, subclassed from Widget (e.g.). But I currently have no idea, how to stream the image-content than to the user...

Would be nice, if you could help me out!

Thanks in advance.
Joachim.


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to