Well, I am basically still stuck at the same weight. It still fluctuates +/- 2 pounds from the average. I have decreased the frequency of my gym visits. I now go every other day and sometimes the third day.
Either I have stretched my pants a bit or I may be a bit leaner. I feel leaner and my movements feel more fluid, so I think it is the latter since I haven't actually bothered to measure my waist. Overall, I feel more fit so I am happier about that.
More exciting news is that I ran outside for the first time all year and I have already jogged further and faster than I did late last year. My ankle issue felt like it was slightly coming back near the end of the run. Since it took more time to develop and was much less painful, I am thinking the issue is more to weak ankles than join issue. The issue did not return while I was on the treadmill the following days. As for my preparations for my 5k race, I think I am going at a good pace to beat 36 minutes which would be averaging a little faster than 5mph. I am now able to jog 5 mph for 30 minutes with easy effort where I am still not breathing hard nor feeling tired. Almost 2 months ago, 5 mph for 20 minutes was the furthest my lungs could handle.
I have also noticed that my runs improve much faster when I take breaks from my workouts. I feel like running everyday does not improve as quickly. Very unscientific, but the feeling is rather lop-sided. Even if I do not actually run faster or longer, I definitely feel less sluggish running every other day. Although recently I have not done any sort of exercise in between, I have done some other weight lifting exercises on the off days. This does not seem to detriment my runs except I will feel a bit more sore in the particular part of the body that I worked out which is typically the chest.
Tuesday, March 17, 2015
Monday, March 16, 2015
Sharing Salary
Here's an interesting post on sharing salaries within a company.
Reference
http://evilhrlady.org/2015/03/my-boss-put-everyones-salaries-up-on-a-power-point-slide.html
Reference
http://evilhrlady.org/2015/03/my-boss-put-everyones-salaries-up-on-a-power-point-slide.html
Labels:
work
Monday, March 9, 2015
ASPNET Sessions and Response Redirect - Why logins do not always work after logging off
This is the first time that I got around to building a custom login user control. Typically, I build the login as part of the master page. Because of this change, there was a problem I ran into while testing the code. The issue was that I was unable to log into my application right after I log off. I can log in in the very first session or login again after it fails.
This issue is not a huge deal but can interfere with the user experience which makes it a big deal. But how often does a user log right in after logging off? This should not happen often and the user will likely naturally try again.
Any case, I found that I cannot Clear and Abandon a session in the same page transaction as I set a new session. Essentially, I found that this issue occurred only on the logoff page. I can log in twice because the page is redirected to the home page after the first attempt thus leaving the logoff page.
This issue is not a huge deal but can interfere with the user experience which makes it a big deal. But how often does a user log right in after logging off? This should not happen often and the user will likely naturally try again.
Any case, I found that I cannot Clear and Abandon a session in the same page transaction as I set a new session. Essentially, I found that this issue occurred only on the logoff page. I can log in twice because the page is redirected to the home page after the first attempt thus leaving the logoff page.
Summary
Not IsPostBack will prevent the issue that I ran into. Executing session's clear and abandon will trump any sessions set within the same page transaction, even if it is "executed" earlier in the code. By using Not IsPostBack will prevent the clear and abandon code to be executed when the Page_Load method is executed after clicking on the submit button.
Off-shoot issue
I had ran into a different problem earlier in my career (I think this may already have been fixed in the later .NET Framework versions), but in case the above does not help... here is an article that provides detail on using sessions and page redirects.
Reference
Labels:
C#,
coding,
programming
Subscribe to:
Posts (Atom)