Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • sperr0w 48 posts 81 karma points
    Jan 12, 2010 @ 08:29
    sperr0w
    0

    Save ViewStateTraffic on server ( compress ViewState traffic)

    Hi!

    I integrate Umbraco and YetAnother Forum, but now I have a problem with ViewState traffic it is about 12Kb on each click. How can I compress this traffic or to save it on server?

  • Petr Snobelt 923 posts 1535 karma points
    Jan 12, 2010 @ 12:08
    Petr Snobelt
    0

    I'm not sure how to implement it without changing umbraco or yetanotherforum sources. I think is should be changable using web.config. Try play with google, this could be your starting point:

    http://stackoverflow.com/questions/386131/keeping-viewstate-in-sessionpagestatepersister

    Petr

  • sperr0w 48 posts 81 karma points
    Jan 12, 2010 @ 13:20
    sperr0w
    0

    As i understood from this solution, I only need to override PageStatePersister:

    protected override PageStatePersister PageStatePersister
    {
       
    get
       
    {
           
    return new SessionPageStatePersister(this);
       
    }
    }

    But where do I need to do it?

    In umbraco or in forum? or I need to create base page and

  • sperr0w 48 posts 81 karma points
    Jan 14, 2010 @ 11:25
    sperr0w
    0

    After I create CustomPage with overwrited PageStatePersister, what I need to do after? Do I need to inherit all umbraco pages from this page or I need to intherit only content page ( to change templates) to use CustomPage?

  • sperr0w 48 posts 81 karma points
    Jan 17, 2010 @ 17:41
    sperr0w
    0

    problem solved

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies