can i use HttpContext in dll...?

ankushbindra

New member
Joined
Nov 19, 2005
Messages
3
Programming Experience
1-3
hi all,
i m deveolping an ASP.net application. in that i m using some dll created by myself. plz tell me one thing ...that i created dynamically html control in web page and i want to access the value of that control in dll file. for that i hav used HttpContext object....plz tell me ....should i use HttpContext object for that purpose or not....?
i mean what will be the advantages and disadvantegs for that...if i use HttpContext object.

With Regards,
Ankush.
 
The HttpContext object will get you access to the user-specific context in which the instance of your object is residing... this will gain you access to the Request and Session objects.... so you could use that to call Request.Form or Request.QueryString, etc... based on what you're trying to do you may be able to use that.
 
Back
Top