Not a member yet?

Not a member yet? Register now!

*
*
*

*
Already a member?

Few hints for large file uploads, authentication cookies and advice of delivery

   —   
In this post I will tell you few words about the large file upload in ASP.Net and Kentico CMS. Also I will provide you with idea of sharing cookies across domains and also few words about advice of delivery.
When uploading bigger files to the web site (live site or CMS Desk) you can get time-out exceptions or errors that the connection was closed. The problem could be in the web.config setting – MaxRequestLength parameter in httpRuntime section. By default it is set to 10 000 bytes. The execution time out parameter is not mentioned in default web.config file, but it might be good to set it to reasonable time in seconds. I have found this blog post where this issue is described with more details.

Sometime you may need to keep the user authenticated across multiple sites (or sub domain sites) you have in your CMS. The problem is that the cookies are domain specific. So, when the user navigates to a different domain is no longer authenticated. This article about sharing cookies can solve this problem.

Last thing in this post is that some of you are using “advice of delivery” with the e-mails sent to our support team. Some of you were complaining that you have received reply that the message was deleted without being read. Do not worry, we have received your message, but our ticket system is downloading the message from the e-mail client and after the download it is deleted. So, when you receive this message, you can be sure that your e-mail was downloaded to our ticket system and it is in the queue and we will take care of it as soon as possible.

Share this article on   LinkedIn Google+

Juraj Ondrus

Hi, I am the Customer Care Manager at Kentico. I’m here to help you use Kentico and get as much as possible out of it.

Comments

kentico_jurajo commented on

Hi Matt,

That property is being set in kilo bytes (kB) and the default value is 10 000kB which is approximately 10MB.

Best Regards,
Juraj Ondrus

Matt commented on

Does "maxRequestLength" really refer to BYTES, meaning that the default max upload size is about 10 Kilobytes? I know I can upload files larger than that, and the web.config still has that default value. Is it referring to 10,000 Kilobytes as the default?

Thanks

Kentico_jurajo commented on

Hi,

could you please also increase the time out parameter for connection string - <add name="CMSConnectionString" connectionString="Persist Security Info=False;database=xxx;server=xxx;user id=xx;password=xxx;Current Language=English;Connection Timeout=240;" />

eagleag commented on

Hi,
I've made the changes in the web.config file and when I upload an image throw cmsdeks I get timeout error.
I added in cinfig timeout to 15min and file size 15mb. I'm not even near those and I still get timed out.
Is ther something else I could change?
maybe it's timing out from DB or something else???
please help :)
THANKS :)


Leave message


 
= four - six