Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Wierd SessionState Problem

Reply
Thread Tools

Re: Wierd SessionState Problem

 
 
Scott M.
Guest
Posts: n/a
 
      08-30-2003
Without further information, it would seem that the session data you're
trying to retrieve hasn't been populated when you are calling for it. There
is nothing inherent in a page that excludes it from participating in session
state.


"Dean" <> wrote in message
news:...
> PageOne.aspx has an image control. The imageURL of the image control

points
> to ImagePump.aspx.
>
> ImagePump.aspx gets a bitmap out of a SQLServer database, puts in into a
> bitmap object and does a:
>
> myImage.save(response.outputstream, ImageFormat.jpeg).
>
> This code works however, on this page I refer to a sessionvariable that is
> accessable from all of my other pages. But that session variable is not
> accessable from this page - it is nothing.
>
> The only difference between this page and other aspx pages is that this

page
> never gets explicitly requested. The code in the page_load gets executed
> however. It must be getting executed when the image.imageurl property on
> pageone.aspx references it.
>
> The mystery is why can't this page reference session variables?
> thanks,
> Dean
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SessionState timeout problem Mikko Penkkimäki ASP .Net 7 06-21-2009 06:48 PM
problem with SessionState Craig G ASP .Net 1 01-27-2005 11:07 AM
sessionstate sqlserver mode image path problem Phl ASP .Net 0 12-02-2004 06:09 PM
Wierd SessionState problem (again) Dean ASP .Net 1 08-30-2003 10:27 PM
Who can help me with this simple webform problem?? (SessionState) Flemming Jensen ASP .Net 0 08-22-2003 05:39 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57