Answer the question
In order to leave comments, you need to log in
How to access session from user control constructor?
As I understand it, the session is not available in the constructor of the self-made control.
Can someone tell me how to get around this issue?
(I have a control that receives data from the session on load)
Answer the question
In order to leave comments, you need to log in
Dig into HttpContext.Current . There and request and cookies and session. But in my opinion the idea is not very good.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question