Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««123»»

Eliminate timeout when posting reply to a post Expand / Collapse
Author
Message
Posted Thursday, January 19, 2006 10:56 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Saturday, December 20, 2014 3:11 PM
Points: 31,368, Visits: 15,837
It happens sometimes, but I try to watch the site throughout the day and see if there are issues. We do have performance problems at times, but they are very intermittent. The vast majority of the day, both the web and db servers trundle along at < 10%.

One thing to be careful of is hitting Enter. These forums (we bought the code) can be slightly flaky with Enter v a click on the button.

Also, I too, CTRL-A, CTRL-C if I have a response fo any size to post







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #252113
Posted Thursday, January 19, 2006 12:48 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Tuesday, March 29, 2011 2:59 PM
Points: 473, Visits: 606

I don't think this is performance related. Looks like some kind of timeout on a page or cookie or stuff like this.

It is frustrating because sometimes I just don't realize how long did it take me to write the post or get distracted... and I wish there was a way to figure out how to get rid of this problem on your side instead of going thru the copy and paste in case I went over the time limit.

Do you get a log entry if someone gets 'blanked out' when replying to a post?
Maybe the problem happens more often then the posts would suggest.



---------------------------------------------
Nothing is impossible.
It is just a matter of time and money.
Post #252154
Posted Wednesday, January 10, 2007 8:42 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, February 15, 2013 1:54 PM
Points: 113, Visits: 109

Was just looking to post about this problem but did a search first.  It's been a year and this is still happening   Seems to me that this would be a quick killer of a good forum.  Why is it still happening?  Personally if I loose a post (it has happened) I will not bother retyping it unless I remembered to copy and paste the text before submiting it.  This is happening to me on a regular basis.




Post #335809
Posted Thursday, March 29, 2007 11:46 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 9:09 AM
Points: 12,965, Visits: 32,541

i have been bitten by this bug 6 times this week; some of my posts couldn't have taken me over 3 minutes to type, others were huge detailed answers....I'm a damn decent web developer, if you need someone to trace the code and find the timeout issue, I'd volunteer; change the code to look for a cookie or something so that this doesn't happen.

Like Carl said, because of that, i didn't try to retype my answers....too much trouble.



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #354844
Posted Thursday, March 29, 2007 3:52 PM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Saturday, December 20, 2014 3:11 PM
Points: 31,368, Visits: 15,837
Lowell, our apologies.

It's can't be a simple timeout, but must be some intermittent error. I haven't seen it for months, but it happened this week to me and I was on the form < 5 minutes.

I sent a note to the dev guys to see if they can find time to trace it.

Steve







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #354925
Posted Thursday, March 29, 2007 6:19 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 9:09 AM
Points: 12,965, Visits: 32,541

No problem Steve; just wanted you to know; i bet it has something to do with the high traffic your site gets; i love this site and spend a lot of time on it every day.

Thanks!



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #354947
Posted Friday, March 30, 2007 6:46 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, February 15, 2013 1:54 PM
Points: 113, Visits: 109
Thanks Steve.  Still happens to me.  I finally just got in the habbit of doing a copy of my text before I post


Post #355027
Posted Friday, March 30, 2007 8:34 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Saturday, December 20, 2014 3:11 PM
Points: 31,368, Visits: 15,837
OK, just got me with the explanation and I forgot the copy/paste.

Doh!

OK, the word from my hot new UK developers with lots of .NET and ASP experience is that it's my fault. They think they've reproduced it a few times in a VM and are fairly confident this is it.

When we went to these ASP.NET forums, we ran into some issues with memory leaks. Actually we didn't know until we had already moved for awhile, but periodically we'd get a "server unavailable" message where all ASP.NET stuff was gone, but the ASP still worked.

So in my very finite web knowledge, I did what any good IIS administrator would do: I set a recycle for the application pool. I set up twice a day, worked great, and life was good.

Well over the years as we've gotten complaints, I had increased that to 6 times a day and as of the server move a few weeks ago it went to every hour. The very talented Stephen D and Steve S at Red Gate (I'm Steve#3), discovered this recycle will lose the session. Which makes the application flip and it doesn't take the post.
So, if you're catching the recycle, whether you've been on the post page for 2 hours or 2 minutes, you lose the text.

They're looking at some Javascript to save to a cookie or something else, but we'd love any suggestions you have.

Saving my text now







Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #355055
Posted Friday, March 30, 2007 9:39 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 9:09 AM
Points: 12,965, Visits: 32,541

i think this can be fixed simply by adding some code to either the button that submits the data, or the Sub Page_Load event; the page will have all the values that were submitted, so it would be something like this: i suspect that the submission page either explictly sets the current values to be blank on_load, or simply allows them to be initialized, and they have no value..... by not init-ing them on IsPostBack, the data would remain in place...similar to when you submit username/password, and the password is bad, and you leave the username in place, awaiting a change to the password...

Behind the scenes, an error like invalid viewstate is probably being raised because the session timed out (or the application was restarted...same effect);

simply find the block of code that handles the submit button and in the Try..Catch...don't allow the objects to be initialized, or maybe assign the fields back their value... it's either the submit button or page load events that are wiping the data.

in Page_Load :

If IsPostBack then

'don't init, let the values remain....or assign or ave the values and reassign them? hard to say without the code.

Else

'initing the textboxes to be blank?

End If



Lowell

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #355074
Posted Monday, April 2, 2007 7:38 AM
SSC Journeyman

SSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC JourneymanSSC Journeyman

Group: Administrators
Last Login: Monday, July 20, 2009 4:10 AM
Points: 96, Visits: 124

I certainly wouldn't say it's Steve's fault Clearly these are very busy forums and something is causing a problem over time. For the upcoming revision of SqlServerCentral we will be moving to the latest version of the forum software and will try and prove that this problem is no longer there during testing, or fix it if it is.

Lowell - thanks for your suggestion. I think it would be a great fix except for a bit of extra magic that is going on internally to keep the ASP and ASP.NET sides of the site running together. This is effectively converting the POST to a GET so the ultimate destination page has no concept of the previous conversation - it is no longer a postback.

We're looking at a couple of potential fixes/workarounds that should prevent the annoyance of losing your post and we'll keep you posted!       





Steven Davidson

Developer, Red Gate Software Ltd.
Post #355341
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse