Author |
Topic |
Etymon
Advanced Member
United States
2385 Posts |
Posted - 11 September 2002 : 15:52:18
|
quote: Originally posted by @tomic
I recommend subscribing to www.asptoday.com($20 for 3 months) and reading Wrox Press books. Wrox has the easiest to understand explanations i have ever seen.
@tomic
Ruirib also has referenced these books in posts here at Snitz.
I'll go check out www.asptoday.com also.
Thanks for the tips, @tomic!
Etymon |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 13 September 2002 : 16:28:39
|
Below is listed a basic introduction to "Applications, Sessions, and Global.asa". It references session objects and why there is need to close them along with a nice little introduction into ASP. Perhaps it is at the novice level, but it is a good article still.
http://www.asp101.com/resources/apps_sessions_gasa.asp
Etymon
|
|
|
Doug G
Support Moderator
USA
6493 Posts |
|
e3stone
Average Member
USA
885 Posts |
Posted - 13 September 2002 : 20:29:09
|
I found the article that Doug posted very helpful, but...
From the article in the previous post:
"For truly high-performance sites that must be concerned about browser 'reach,' a good strategy is to optimize pages for the popular browsers. Browser features can be easily detected in ASP using the Browser Capabilities Component. Tools such as Microsoft FrontPage can help you design code that works with the browsers and HTML versions you wish to target."
I've found that FrontPage just messes up my pages. If that article wasn't on Microsoft's site, it would say:
"Using W3 compliant code can help you design pages that should work in all browsers, if the manufacturer would design them correctly" |
<-- Eric --> |
|
|
Doug G
Support Moderator
USA
6493 Posts |
Posted - 13 September 2002 : 20:41:46
|
Don't blame the tools :)
There are option settings in FP that keep your html cross-browser compatible, but you have to turn on that option. Otherwise nothing but your knowledge will keep you from making a page that isn't cross-browser capable.
Keep in mind there is a very large user base that doesn't care about, or even desire, cross-browser web pages. Many, many corporate intranets use IE and IIS/Frontpage specific features and love it.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 13 September 2002 : 20:47:39
|
quote: Originally posted by e3stone
"Using W3 compliant code can help you design pages that should work in all browsers, if the manufacturer would design them correctly"
W3 compliant code is restrictive. There are quite a few features that IE has that makes your site more user-friendly. Microsoft is an innovator. It's really too bad that so many people are intent on being against them, instead of being for them. (one example is the code that is used on the post.asp page when composing a new topic/reply, this is IE specific) |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 13 September 2002 : 21:16:53
|
quote: (one example is the code that is used on the post.asp page when composing a new topic/reply, this is IE specific)
Is this cross-platform? I am by no means anti-Microsoft but IE does have an advantageous position because they also make Windows.
@tomic |
SportsBettingAcumen.com |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 16 September 2002 : 04:31:30
|
quote: Originally posted by @tomic
quote: I've found several MODs that set rs=nothing, but don't rs.close first.
Yes. I found lots of those. I would check every page of every MOD to be safe.
@tomic
it is not allways possible to do a recordset.close before setting it to nothing, it depends how the recordset was opened and what happened when it was opened, it is the setting to nothing which is important in preventing memory leeks.
trying to close a recordset that is not open will cause your page to error, so be very carefull about sticking them in just because you think it should have one |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 16 September 2002 : 04:56:25
|
quote: trying to close a recordset that is not open will cause your page to error, so be very carefull about sticking them in just because you think it should have one
That is absolutely true it can be very tricky but also quite worthwhile if done correctly.
@tomic |
SportsBettingAcumen.com |
|
|
RichardKinser
Snitz Forums Admin
USA
16655 Posts |
Posted - 16 September 2002 : 05:05:05
|
quote: Originally posted by @tomic
quote: (one example is the code that is used on the post.asp page when composing a new topic/reply, this is IE specific)
Is this cross-platform? I am by no means anti-Microsoft but IE does have an advantageous position because they also make Windows.
@tomic
I was talking about the code that allows you to insert code/smilies anywhere in the post. I've never used IE on any other platform, except for Windows, so I don't know. |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 16 September 2002 : 05:06:15
|
quote:
That is absolutely true it can be very tricky but also quite worthwhile if done correctly.
Well that really depends on what the rest of your page does, if you r whole page is taking 0.2 seconds to process, closing a recordset in the middle or the end really won't have that much effect, but if it is a large page then obviously it will. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 16 September 2002 : 05:08:41
|
I am more worried about the recordset never being destroyed at all than as soon as possible although the sooner the better.
@tomic |
SportsBettingAcumen.com |
|
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
Posted - 16 September 2002 : 05:11:29
|
I am not speaking of destroying it, you can do that whenever you wish by setting it to nothing, it is closing them that you should be careful about, since the recordset may not be open. |
|
|
@tomic
Senior Member
USA
1790 Posts |
Posted - 16 September 2002 : 05:16:00
|
quote: I am not speaking of destroying it, you can do that whenever you wish by setting it to nothing, it is closing them that you should be careful about, since the recordset may not be open.
Absolutely.
2tomic |
SportsBettingAcumen.com |
|
|
alex042
Average Member
USA
631 Posts |
Posted - 16 September 2002 : 08:00:36
|
quote: it is closing them that you should be careful about, since the recordset may not be open.
I've had this happen before where I'd try to close something when it wouldn't be open even though there was no close statement on the page. This seems to happen with UPDATE statements in particular. Do updates automatically close the recordset or am I missing something?
|
|
|
Topic |
|