jink


Member since 04/30/2009

8 snippets

15 profile views

0 Comment(s) Posted

View their favorites

Profile

All time reputation: 7

Achievement

first submission:submitting first snipplet

jink's Recent ASP Snippets



« Prev 1 Next »
  1. FAV

    ASP.net MVC: Accept file upload from all browsers.

    I use this action code with http://valums.com/ajax-upload/ to handle the upload from any browser.
    ASP 3 views posted 9 years ago jink
  2. FAV

    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.
    ASP 5 views posted 9 years ago jink
  3. FAV

    ASP: Altering web.config to allow MySQL outside of GAC

    Add the System.Data config settings for MySql. Update the version to number referenced.
    ASP 3 views posted 9 years ago jink
  4. FAV

    ASP.Net: Working around Flash Cookie Bug AKA restoring the session | SWFUpload

    ASP saved by 4 people 13 views posted 10 years ago jink
  5. FAV

    ASP.net: Session timeout prevention (keep alive).

    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.
    ASP saved by 2 people 5 views posted 10 years ago jink
  6. FAV

    ASP.net: Retrieve connection string from web.config

    Replace *SERVERNAME* with the name of the server name in the web.config
    ASP saved by 8 people 4 views posted 10 years ago jink
  7. FAV

    ASP.net: Prevent Caching of a Page

    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.
    ASP saved by 4 people 5 views posted 10 years ago jink
  8. FAV

    ASP.net: Send a file to a user through Response

    ASP 3 views posted 10 years ago jink
« Prev 1 Next »