#1175: ASP.NET: Changing UserFiles Directory using the Session object
-------------------------------+--------------------------------------------
  Reporter:  drumminxx         |       Owner:                 
      Type:  Bug               |      Status:  new            
  Priority:  Normal            |   Milestone:                 
 Component:  Server : ASP.Net  |     Version:  FCKeditor 2.4.3
Resolution:                    |    Keywords:                 
-------------------------------+--------------------------------------------
Description changed by fredck:

Old description:

> The documentation for the .NET installation states that you can define
> the browsing directory by setting Session["FCKeditor:UserFilesPath"] in
> the Page_Init and it does not work, however after reviewing the source
> code I found that the Application object does work. Could the
> documentation be corrected or this issue resolved. Thanks.
>
> this does NOT work
>     protected void Page_Init(object sender, EventArgs e)
>     {
>         Session["FCKeditor:UserFilesPath"] = "~/testdir";
>     }
>
> This does work
>     protected void Page_Init(object sender, EventArgs e)
>     {
>         Application["FCKeditor:UserFilesPath"] = "~/testdir";
>     }
>
> IE7, WinXP Pro, .NET 2.0

New description:

 The documentation for the .NET installation states that you can define the
 browsing directory by setting {{{Session["FCKeditor:UserFilesPath"]}}} in
 the Page_Init and it does not work, however after reviewing the source
 code I found that the Application object does work. Could the
 documentation be corrected or this issue resolved. Thanks.

 this does NOT work

 {{{
 protected void Page_Init(object sender, EventArgs e)
 {
     Session["FCKeditor:UserFilesPath"] = "~/testdir";
 }

 }}}

 This does work

 {{{
 protected void Page_Init(object sender, EventArgs e)
 {
     Application["FCKeditor:UserFilesPath"] = "~/testdir";
 }
 }}}

 IE7, WinXP Pro, .NET 2.0

--

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1175#comment:1>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to