Hello
I have learned ASP.NET (VB) on my own with the help of google. Although I have found ways to solve all my challenges so far, learning without any guidance has some obvious drawbacks. It is hard to know if your solutions are sub optimal, or even terrible.
Maybe the most frequent source of all my problems is related to the page lifecycle events, and the order of these. I tend to want to do things on the wrong stage of the life cycle. To work around all of these problems I have come to start using response.redirect(request.url.tostring)
instead.
An example would be to use a button to call a method that only sets a session variable, then after the session var has been set i use response.redirect to reload the entire page, and then let the page render based on the session variable i just set.
I do realize that this increases the load on the server, but what I don't know is how much.
Is this a normal way to code, or is it something e ...
Go to the complete details ...