Hello, I am trying to access page level session variables from within the FCKEditor/editor/filemanager/connectors/aspx/config.ascx so I can setup the upload directory dynamically.
How do I get access to a session at the page level? I have been toying around with this and cant seem to get the access to the session.
session is created when the user logs in.
Session("UserDirectory")="directoryValueFromDB"
in the config.ascx file there is a method i am modifying called
public override void SetConfig()
{
Enabled = CheckAuthentication();
string mySession = "/" + HttpContext.Current.Session["UserDirectory"].ToString() + "/";
UserFilesPath = "~/UserFiles"+ mySession ;
}
what am I missing? please help, any info is appriciated.
Carl.
Thu, 08/28/2008 - 21:27
#1