If the flash animation is supposed to appear in the webpage, wouldn't it make more sense to have it as an SWF file, rather than an exe file, and just embed it in the page? That way you can have PHP construct the page as normal including the necessary markup for the animation.
Here is a good discussion of methods for embedding flash animations in pages: http://alistapart.com/articles/flashsatay[^]. The target of the article being to stick to standards, but I think it gives some good background.
This just be a case of having the flash advert saved as an SWF file. If the flash advert is an exe file, I'm sure there are tools about to convert it. If you created the flash advert, can you not save it as an SWF file? If the advert was supplied by a 3rd party, can they not re-supply as an SWF file?
This is all fine unless I'm missing something, oh, and the targeted client browsers don't have a flash plugin installed.
Currently there is a web user that always gets an error on our
application due to a missing session variable. All other session
variables are still in tact, but this one seems to disappear and hence
the user can no longer access everything on the site.
Any ideas as to where this value goes? I've checked my ASP code and
saw nothing that would re-set this variable's value. Moreover, only a couple of
users experience this problem
Could a browser specific setting cause this? I've tried impersonating the user on the production site, and even though I am limited to what I can do (since I am not the user himself), I still havent been able to reporoduce the problem.
You're right, if it was a cookie issue, then there would be no session vars. at all, plus I get the HTTP cookie in my error email when an error is encountered. There is no underscore in the domain name either.
Well, this is my code to send me an email regarding whats going on when an error occurs
For Each item in Session.Contents
CaptureSessionValues = CaptureSessionValues & "" & item & "" &_ Server.HTMLEncode(Session.Contents(item)) & "" & vbcrlf
And the variable in question, named Home_Page (along with a few others that get set on the same page, home.asp) are not there, so I guess it never gets created? I checked my code and I dont see anything that removes it.
You need to identify your bottlenecks. Saying, "it's slow" is meaningless - you need to identify what is slow. It may be that re-designed queries or a good caching strategy will do far more for your app than the fastest compiled code - there's just no way of knowing until you narrow down the scope.
FWIW - while compiled VB can give a nice speed boost over interpreted ASP (VBS), keep in mind that ASP runs in the STA threading model, so you can find yourself just introducing another bottleneck. There are ways around this, and for some operations it makes sense even without them... it all depends on where your costs lie.
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
As a short answer. My experience is that when I took out some com objects out of an application and moved its logic, unchanged, in the asp code the performance was much better. Also if you have typical asp code you should take all extra <% and %> tags out of your code to boost up your performance. Typical asp source code involves html code and logic, separate it and use Response.write "Name:"& rs("sName") instead of %> Name: <%= rs("sName")%> ...<% syntax.
Also if you have typical asp code you should take all extra <% and %> tags out of your code to boost up your performance.
The important thing is to make sure that response buffering is enabled. With buffering turned off, you take a performance hit every time you enter and leave a <% %> tag, but with buffering enabled you don't.
Actually the testing I have done shows that using <%= %> is slightly faster than concatenating strings with the & operator. The difference is quite small, though, so use the one that gives the nicest code.
I always put Response.Buffer = True at the top of every page. It takes a fraction of a millisecond to run each time, but if someone disables buffering on the server, it keeps your pages from suddenly being incredibly slow.
I want to build a "plugable" Web application. In this site, there are plenty of tutorials about how to do it in WinForms through dynamic loading of assembly but i've not find either on the site or through google any sample or indication of how to implement it.
What the system must do ?
The system must have a core with a build in "plugin installer". As there is no page in an assembmy -or i don't know how to translate the knowlodge of a Winform plugin system in a Web application -, i want to know if you could give me some indications on how to do this.