asp.net - Problem with setting wwwroot by session with TinyMCE FileManager -


I am trying to set different values ​​for TinyMCE through the ASP.NET session. For the file manager, the session attientctor in web.config

  & lt; Add key = "sessionAuthenticator.config_prefix" value = "filemanager" /> Has been set up with.  

So I have an MVC controller in the

  session ["filemanager.preview.urlprefix"] = "{proto}: // {host} / edunet / ";  

Which works, the value is used in the same way when I do it through config.

  session ["filemanager.preview.wwwroot"] = @ "C: \ project \ eDunnet \ app \ idnet net." ";  

If there is no value in web.config

  add key =" preview.wwwroot "value = "C: \ Projekt \ EduNet \ app \ EduNet.Web" /> is set I  

this works.

Override value

  & lt; add key = "preview.allow_override" value = "*" / & gt;  

Help!


Comments