Handler and Httpcontext

Last post 06-16-2007 8:51 PM by neo302. 4 replies.

Sort Posts:

  • Handler and Httpcontext

    06-16-2007, 9:54 AM
    • Member
      131 point Member
    • neo302
    • Member since 04-10-2006, 5:10 PM
    • Posts 78

    Hello,

     In the Personal starter kit, there is a handler that receives the httpcontext and reads the querystring passed values to display photos.

    Is it possible for the handler to read from controls stored on the page instead of pulling values from the querystring?

    i.e.-Can a control on the page store the photo id and the handler pull from that.

    Thank you

  • Re: Handler and Httpcontext

    06-16-2007, 12:36 PM
    • Contributor
      4,300 point Contributor
    • jackyang
    • Member since 11-16-2006, 7:27 PM
    • Waterloo, Canada
    • Posts 587

    Querystring is one way to handle it. There's no other viable solution given if you don't want to change your current design. Maybe you can create some kinda data store to retrieve from there instead of trying to access the web control.

    Jack Yang
    .NET Developer
  • Re: Handler and Httpcontext

    06-16-2007, 12:50 PM
    • Member
      131 point Member
    • neo302
    • Member since 04-10-2006, 5:10 PM
    • Posts 78

    Thanks for the reply. 

    Is there any way to pull a controls value from httpcontext information besides using querystring?

    It may be a dumb question. I'm not familiar with httpcontext.

    Thanks

  • Re: Handler and Httpcontext

    06-16-2007, 3:08 PM
    Answer
    • Contributor
      4,300 point Contributor
    • jackyang
    • Member since 11-16-2006, 7:27 PM
    • Waterloo, Canada
    • Posts 587
    Jack Yang
    .NET Developer
  • Re: Handler and Httpcontext

    06-16-2007, 8:51 PM
    • Member
      131 point Member
    • neo302
    • Member since 04-10-2006, 5:10 PM
    • Posts 78

    Thanks Jack! I will take a look.

Page 1 of 1 (5 items)