Profile
Achievement
jink's Recent ASP Snippets
- All /
« Prev 1 Next »
I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
0
704
posted 13 years ago by jink
ASP
MySQL: Preventing "Unable to convert MySQL date/time value to System.DateTime" (Invalid Date Data).
Changing the connection string in the web.config to allow zero date and converting it prevents this error.
0
795
posted 13 years ago by jink
Add the System.Data config settings for MySql. Update the version to number referenced.
0
552
posted 13 years ago by jink
Call AddKeepAlive() in Page_Load of the page that needs it. Change the path to the correct keep alive page.
Page should disable caching, like in second code snippet.
2
777
posted 14 years ago by jink
Replace *SERVERNAME* with the name of the server name in the web.config
2
685
posted 14 years ago by jink
Code snippet prevents caching of the page by setting http header values and a LAST MODIFIED header to prevent google from caching too long. This should go into the page load event.
1
644
posted 14 years ago by jink