ASP.Net Session Timeout Resolved

I administrate an ASP.Net web application that requires our users to log in throughout the day and enter their time/expenses into the accounting system.

When left idle for 20 minutes, the browser session times out and the user is forced to logout and sign in again. But there is no indicator or timer showing when the session expires and most users find out only after they try to save a record hence losing all their work.

The software manufacturer addresses this issue on their support wiki stating that you simply increase the Session Timeout variable located in IIS under YourWebSite -> Properites -> ASP.NET-> Edit Configuration -> State Management. Seems legit to me, but didn't work out to well. I applied these changes to several different objects up the tree in IIS thinking there was a global configuration that was trumping my changes but after I had changed every instance of Session Timeout i could get my hands on it still timed out after 20 minutes.

Then I checked the properties of the Application Pool related to my web application. Under the Performance tab there is a section labeled Idle Timeout where you can set the idle time required to shutdown the worker processes. The default was 20 minutes (sounds familiar). I bumped this up to 1200 minutes and restarted IIS. This solved the user session timeout issue!

When the worker process times out and shuts down, the related user session is deleted and the user is force to start a new one. When the user refreshes the page after this has occurred the application behaves as if the session has expired.


Posted by brady on 02/03/10 | Comments (0) | Trackbacks (0)

Grand Lake Stream, Maine Trip

img_Dec_27_2009_31_56img_Dec_27_2009_32_18img_Dec_27_2009_32_35img_Dec_27_2009_33_04img_Dec_27_2009_35_34img_Dec_27_2009_36_00 This year we had our 3rd annual corporate management retreat in Maine. I took a sea plane from Bangor right to Chet's Camp front door. We climbed Khatadin, floated the Saint Croix River, I flipped my kayak and lost a good pair of headphones. I can't wait to get back up there again.


Posted by brady on 12/27/09 | Comments (15) | Trackbacks (0)

Danielle Davis Art/Photography Site Launch

Today I launched DanielleDavisArt.com. Danielle Davis is a portrait and wedding photographer located in Little Rock, Arkansas. The main site is a flash-based template customized to Danielle's style of work. Her blog is powered by WordPress and utilizes a custom photography theme that is unlike anything I have seen in the photography market. Her private galleries and print procurement are powered by DigiLabs.

Danielle Davis Art / Photography Weddings Front PageDanielle Davis Art / Photography Weddings About PageDanielle Davis Art / Photography Blog


Posted by brady on 08/31/09 | Comments (0) | Trackbacks (0)

Niagara Falls

img_Dec_27_2009_48_41img_Dec_27_2009_49_02img_Dec_27_2009_49_44img_Dec_27_2009_50_16img_Dec_27_2009_50_54 I was fortunate enough to visit Niagara Falls while on a business trip to Buffalo, NY. When we got there I noticed Mindy Kaling from 'The Office'. When I got down to the Maid of the Mist, her crew boarded as well. I muscled up the courage to ask her if I could get a photo with her, she kindly obliged.


Posted by brady on 08/24/09 | Comments (7) | Trackbacks (0)

Backpacking in the Rockies

I spent last weekend near Aspen, CO in the Maroon Bells - Snowmass wilderness on Condundrum Creek Trail. There was a lot more snow than we had anticipated for this time of year, but it was a beautiful trip.

Trail Head Camp SiteTrail ShotAhh the scenery...River Crossing, No BridgePosersAvalanche Trailimg_Jun_13_2008_19_03Surprise! Snow?Thank you tent


Posted by brady on 06/13/08 | Comments (129) | Trackbacks (0)

Dynamically Add Apache Virtual Host with Python

Here's a little python snippet i created to dynamically update my apache config with a new virtual host when a new user signs up to BlogPlot.com. I will be calling this script from Zope via an external method in which i will pass the users domain name from the sign up form.

import string

def add_domain(user_domain):
    file = open("/etc/apache2/sites-available/site", "a")
    domain = user_domain

    template = """
    <VirtualHost *:80>
    DocumentRoot /www/somedomain.com
    ServerName $(domain)s
    ServerAlias www.$(domain)s
    </VirtualHost>
    """ % vars()

    file.write(template)

    file.close()


Posted by brady on 03/14/08 | Comments (65) | Trackbacks (0)

Realflight G3 Dongle Emulator Joystick Mappings

Here are the correct joystick channel mappings for the USB InterLink controller from G2

Joystick Mappings for G2 USB Controller


Posted by brady on 02/04/08 | Comments (92) | Trackbacks (0)

Joomla WYSIWYG Background Color Issue

I am working on a new content project which will be powered by Joomla. Joomla is a popular open source content management system written in PHP. There are tons of extenstions and templates out there, I recomend RocketTemplates for great templates. I ran into an issue with one of their latest templates "Dimensions". Joomla's WYSIWYG editor uses the site's template's CSS to apply style. With the Dimensions template, the background gets set to black, and your text is black, therefore you can't see anything you are typing. To fix this, in the administration panel, go to

Mambots > Site Mambots

then click on TinyMCE WYSIWYG Editor in the listing. Under Parameters on the right-hand side, scroll down to Template CSS classes and select the No radio button. That's it!


Posted by brady on 12/04/07 | Comments (54) | Trackbacks (0)

Big Lake, Grand Lake Stream, Maine

img_Sep_25_2007_40_37img_Sep_25_2007_43_56img_Sep_25_2007_44_26img_Sep_25_2007_45_08img_Sep_25_2007_47_23img_Sep_25_2007_50_54


Posted by brady on 09/25/07 | Comments (44) | Trackbacks (0)

Mike Doughty Grey Ghost Tab

It took me a while to locate the guitar tab for Mike Doughty's Grey Ghost so I decided to post the link as a bookmark for myself.


Posted by brady on 08/16/07 | Comments (34) | Trackbacks (0)

Google Image Ripper

This site is cool. Plugin your favorite artist or place and enjoy the view.


Posted by brady on 07/17/07 | Comments (37) | Trackbacks (0)

Testing... Testing... T-Qualizer

I ran across the T-Qualizer on ThinkGeek.com last week and I just had to have it. My wife thinks I am an idiot. Here is a goofy video demonstrating how the shirt reacts to sound (BTW my wife made me go out in the garage to do this).

Obviously this would be really fun to wear to a concert. It's one of those shirts where you think you are cool and you can imagine the band calling you up on the stage to show off your cool unique shirt but when you get to the venue there are like 5 other guys (who also have internet access) wearing the same shirt. Maybe I could take it to an Amish festival or something.

img_Jun_18_2007_28_12


Posted by brady on 06/18/07 | Comments (28) | Trackbacks (0)

Flying at Burns Park

I have been posting alot of entries about helicopters lately and I'm sure you are tired of seeing them, so here is another entry about heli's. We flew at Burns Park this weekend. Ryan spent most of the day installing his new V2 frame joints. Alex was sporting his new custom canopy featuring the colors of his homeland. Perfect weather, good flying, no crashes.

Thanks to Alisha for taking photos.

img_Jun_18_2007_20_31img_Jun_18_2007_20_53img_Jun_18_2007_21_09img_Jun_18_2007_21_21


Posted by brady on 06/18/07 | Comments (24) | Trackbacks (0)

Cats are Awesome

This Craigslist posting from Minneapolis is too funny not to share with everyone I know. The poster describes his evening feeding ritual for his 2 cats, Cat #1 and Cat #2.

Like a nuclear reactor meltdown, cat #1 pukes all of his half back into his bowl, licks his chops and saunters away. Mission accomplished, everything is fine.


Posted by brady on 06/06/07 | Comments (17) | Trackbacks (0)

Crashing Trex 450

I couldn't resist strapping my camera to my Trex tonight. It started out pretty good, but then I just HAD to go higher...


If your back up server cannot offer reliable online backup, it is of no use. The hard disk recovery, often sufficient in most cases, may run out of memory at one time or the either. There maybe irreparable damage to it during any online file sharing. This is why there is constant need of a data recovery hardware.


Posted by brady on 05/23/07 | Comments (14) | Trackbacks (0)

Van Halen-ish Trex Canopy

This is my latest paint job for my Trex 450 canopy. It's an easy design to accomplish, yet it has quite a bit of style in my opinion.

img_May_24_2007_29_58


Posted by brady on 05/23/07 | Comments (16) | Trackbacks (0)

More Trex Action

This weekend Danielle and the girls were out of town, to visit her family in Denver. This left me with a full open schedule to fly heli's and what not. We flew at Burns Park on Saturday all day, and I even got to ride in a Robinson 44 (real helicopter) at the Relay for Life marathon in Maumelle. We also got some simulator time in on the big screen.

Check out this photo of Alex's Trex, the blades appear warped due to the high head spead (2400 rpm's) I guess.

Phantom Bladesimg_May_14_2007_48_02img_May_14_2007_50_18img_May_14_2007_51_39


Posted by brady on 05/14/07 | Comments (14) | Trackbacks (0)

Custom Trex Canopy

I tricked out my plain white Trex canopy last night using satin finish spray paint and truck decal striping that I picket up at Wal-Mart. It turned out pretty well.

img_May_10_2007_13_39img_May_10_2007_16_22img_May_10_2007_16_31img_May_10_2007_16_45img_May_10_2007_18_03img_May_10_2007_18_29


Posted by Brady on 05/10/07 | Comments (18) | Trackbacks (0)

Weekend Heli Hang Out

5 Guys, 5 helicopters, 3 hours well spent. I think we should start doing this every weekend.

Ryan and his babyimg_May_07_2007_19_03My Birdimg_May_07_2007_23_54img_May_07_2007_24_09


Posted by brady on 05/06/07 | Comments (11) | Trackbacks (0)

The Next Level

So I finally buckled down and purchased a Trex 450S, after much influence from an un-named individual. This machine is amazing, it is the cadilac of electronic RC heli's. After several nights, Alex and I assembled it in my hotel room while out on a project. I can't wait to fly it... try to fly it.

img_May_07_2007_06_44


Posted by brady on 04/26/07 | Comments (10) | Trackbacks (0)

Microsoft Office 2007 - Access Interface Tip

I have recently installed Microsoft Vista Business along with Microsoft Office 2007. I have beta tested Vista, so I kinda knew what I was getting into but Office 2007 was quite a shocker. The interface for all Office applications has changed drastically. I will be documenting things I learn as I go here on my blog as a reference.

The first thing comes from Access 2007. The default layout of the application has a navigation panel on the left side, which lists tables, queries, etc. The default view is set to "Tables and Related Views" which shows only tables and any other objects that relate to them (obviously by the title). This view confuses the crap out of me. I want something remotely similar to Access 2003. I found by right-clicking the navigation bar header, you can categorize by "Object Type". This view is much clearer to me as it shows all database objects separated by type. It seems obvious now, but it took me 2 hours to finally figure this out.

img_Feb_10_2007_15_29


Posted by brady on 02/10/07 | Comments (11) | Trackbacks (0)

Lovely Acoustic Tapping Technique


I stumbled across this guy tonight. Enjoy and check out his other videos.


Posted by brady on 12/18/06 | Comments (17) | Trackbacks (0)

Interesting CNN Page Statistics

It seems that during times of crisis, society turns to ferries and pixie dust to remove themselves from the issue at hand. Remember the face of Satan in the smoke plume from the twin towers? These statistics (see image below) were taken as the first cease fire agreement between Israel and Lebanon was mentioned on August 12, 2006. The #1 story at that time wasn't about the cease fire, it was about a tree that was leaking "God's water". This magical tree that's leaking water is a sign that... wait a minute what could that possibly mean?

Get Anderson Cooper on the line, because I just had a glass of "God's water", it started leaking out of my faucet when I turned the knob. Isn't all water God's water? Just thinking out loud.

The need to believe in phony wonders sometimes exceeds not only logic but, seemingly, even sanity.

    --The Rev. Canon William V. Rauscher
img_Aug_15_2006_37_48


Posted by brady on 08/15/06 | Comments (11) | Trackbacks (0)

Urban Outfitters

I love shopping at Urban Outfitters, whether I'm online or in a city with a retail store. I always look forward to taking the quarterly catalog to work and leaving out on my desk so people think I shop there.

I hate it when I wear something from UA twice, then it falls apart. Every single item I have purchased (web orders, multiple retail locations) has either lost its buttons, torn at the seams, un-frayed, or ripped within a months time. Can someone tell me why I keep buying thier crap?


Posted by brady on 08/15/06 | Comments (12) | Trackbacks (0)

STS-121 Landing Ground Tracks in Google Earth

img_Jul_16_2006_13_58 I thought it would be interesting to take the STS-121 landing ground tracks posted on NASA's site and overlay them in Google Earth to get a rough idea on the shuttle's approach for tommorow's landing. Then I traced the approach from the image with the path tool and made it a planar surface so I could view relative to my current location. Download the KMZ file here.

img_Jul_16_2006_14_23


Posted by brady on 07/16/06 | Comments (14) | Trackbacks (0)

Extracurricular Activities in The Big Easy

img_Jul_16_2006_51_50 I couldn't resist the temptation to create a packing tape sculpture of my self after reading about it. Last night I did my left arm. It was kinda scary because the tape got a little too tight but I couldn't just bail out halfway through or I would have ended up wasting a lot of tape. Tonight Ryan is going to help me do my torso and legs. The big question is where is 'he' going to live when he's done?

If you have no idea what I'm talking about see this article on how its done.


Posted by brady on 07/16/06 | Comments (11) | Trackbacks (0)

Three Good Reasons to Sleep in Total Darkness

  1. Darkness promotes the production of melatonin, which is the hormone that promotes sleep. Even the slightest glow of a night light can have an inhibiting effect on melatonin production. Less melatonin = bad sleep/wake cycles = more stress + elevated blood pressure
  2. Reduced melatonin production has been proposed as a likely factor in the significantly higher cancer rates in night shift workers.
  3. Save energy by using less electricity. (kinda obvious, sorry)
I love sleeping in total darkness... I always have. My wife on the other hand likes to have the TV on or a hall light on. When I stay in a hotel (frequently latetly) I have the luxury of "darking out" the room.


Continue reading "Three Good Reasons to Sleep in Total Darkness"


Posted by brady on 07/16/06 | Comments (15) | Trackbacks (0)

Links of Interest - July 14, 2006


Posted by brady on 07/14/06 | Comments (11) | Trackbacks (0)

Google Earth + Sketchup + My House

I have been wanting to do a 3D model of something since Google annouced their purhcase of Sketchup. I decided to model what any one else would: my house. Check it out as a Google Earth KMZ file.

img_Jul_13_2006_59_11


Posted by brady on 07/13/06 | Comments (12) | Trackbacks (0)

Links of Interest - July 13, 2006


Posted by brady on 07/13/06 | Comments (14) | Trackbacks (1)

My Discovery Experience

This morning I put the live feed of the STS-121 mission (via NASA.gov) in the background of my work environment to just listen in and occasionally watch. I found that if you mix this live feed with your favorite music (I am currently mixing it with Regina Spektor's new album Begin to Hope) it is much more enjoyable. It feels almost like a feature film. The monotone voices of the control center scientists and the awesome scenes of the Earth's rotation from onboard cameras are entensified by the soft notes and sudden vocal breaks of Regina Spektor. If you have time I encourage you give it a try.


Posted by brady on 07/05/06 | Comments (15) | Trackbacks (0)