Re: Can images be saved to Session State and retrieved?



Hi,

Why not covert the Image to Binary and then store it in session with the Img
format?
Is this a bad idea?

++Vijay R


"Brock Allen" wrote:

> Why not? Check out the Bitmap class.
>
> -Brock
> DevelopMentor
> http://staff.develop.com/ballen
>
>
>
> > Hello -
> >
> > I have images saved in my SQL SERVER 2000 database. Using ASP.NET (C#)
> > is there any way to temporarily save an image to a session object, and
> > after running some other operations, later retrieve the image from the
> > session object, convert it back to an image, and re-save it to the
> > database?
> >
> > Thanks?
> >
>
>
>
>
.



Relevant Pages

  • Re: Intranet Login using ASPdotNET (advice)...
    ... You should read a bit about FormsAuthentication ... limit the scope of the session object? ... You should use the Session object, the Cache object has a different ... How do I set the session to expire in XX minutes? ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Access session of another user
    ... user's session by a session id or user id, ... I strongly recommend you to use the Profile ... Profile object is persistent whereas Session object is non-persistent. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Classes / Functions / Autonomy
    ... Session creation should be called from the Validate function, ... Session Object. ... Class Celebrity { ...
    (comp.lang.php)
  • Re: threading and iterator crashing interpreter
    ... "restricted mode" means that the current builtins are not the standard ... Googling says "Some googling suggests that this error is a hint that a ... ("session" in this case) ... happening is the Session object is deallocated, ...
    (comp.lang.python)
  • Re: pls help w/cookies.......
    ... into a session object in the server side). ... the output of the handler servlet contains a link to a viewer ...
    (comp.lang.java.help)