Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

4 Pages«<234
Options
Go to last post Go to first unread
Manish Gupta  
#61 Posted : Tuesday, January 29, 2013 2:07:08 AM(UTC)
Manish Gupta

Rank: Newbie

Groups: Member
Joined: 8/9/2012(UTC)
Posts: 7

Thanks: 2 times
Hello,

Thanks for immediate revert. Actually we are not using session, we are saving VObject Data properties in the database and using this saved Data property to set the VOjects state. Here is an example of one Data property which we are saving.

Code:
{
    "MaxSize": {
        "IsEmpty": false,
        "Width": 70,
        "Height": 70
    },
    "ScaleToActualSize": true,
    "PrivateCacheFileName": "f34f8f13-62bc-488b-a5dc-11b45acb6cde.png",
    "Source": "http://localhost/AspDotNetStorefrontMultiStore9/E5A137A26E1B453D9CD7FF4F9D54D5EA.aspx?id=d882e1f4-3e2f-47f8-ba56-7c59443bb53d.png",
    "PrivateCacheImageWidth": 408,
    "PrivateCacheImageHeight": 408,
    "PublicCacheImageWidth": 372,
    "PublicCacheImageHeight": 372,
    "NeedToDownloadImage": false,
    "PrivateCacheImageHorizontalResolution": 95.9612,
    "PrivateCacheImageVerticalResolution": 95.9612,
    "BorderColor": "rgba(0,0,0,1);",
    "FillColor": "rgba(255,255,255,0);",
    "BorderWidth": 0,
    "UniqueId": "voa20e190d510d4dc098a1e800bb4ebf9f",
    "ControlPoints": [
        {
            "X": 0,
            "Y": 0
        },
        {
            "X": 306.123749,
            "Y": 306.123749
        }
    ],
    "Transform": {
        "Angle": 0,
        "ScaleX": 0.5411138728244653,
        "ScaleY": 0.5411138728244653,
        "TranslateX": 64.42899652919942,
        "TranslateY": 66.20819356533619
    },
    "SupportedActions": 5,
    "Name": "",
    "Mode": 2,
    "Visible": true,
    "Tag": "/AspDotNetStorefrontMultiStore9/E5A137A26E1B453D9CD7FF4F9D54D5EA.aspx?id=05b8eba5-3f12-4cd1-a254-c6b84e92e485.jpg",
    "Locked": false
}


Now when we set this data to VObject Data property images are not loading. I think the source path in the json data string i.e. "Source": "http://localhost/AspDotNetStorefrontMultiStore9/E5A137A26E1B453D9CD7FF4F9D54D5EA.aspx?id=d882e1f4-3e2f-47f8-ba56-7c59443bb53d.png" will not exits any more after one day.


Regards
Manish Gupta


vitaly  
#62 Posted : Tuesday, January 29, 2013 3:48:56 AM(UTC)
vitaly

Rank: Advanced Member

Groups:
Joined: 12/19/2012(UTC)
Posts: 164

Was thanked: 8 time(s) in 8 post(s)
Hello,

I talked with our developers and accodring to them you have some ways:

1) Change the lifetime of cache in the web.config file:
Code:

<Aurigma.GraphicsMill.AjaxControls>
  <add key="PublicCacheMaxLifeTime" value="3600"/> <!-- time in seconds (You can set the value to Int32.MAX) -->
  <add key="PrivateCacheMaxLifeTime" value="3600"/> <!-- time in seconds -->
</Aurigma.GraphicsMill.AjaxControls>


Also there are PrivateCacheMaxFileCount and PublicCacheMaxFileCount params, which means a quantity of files in the cache (Default value = 1000).

2) For long term storage use binary serialization data or store images yourself.

Best regards,
Vitaly Kustov
Aurigma Technical Support
Best regards,
Vitaly Kustov
Aurigma Technical Support
Users browsing this topic
Guest
4 Pages«<234
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.