Exemple #1
0
        /// <summary>
        /// Get the session state path for a web application.
        /// </summary>
        /// <returns>The full path of the logging file.</returns>
        public static string GetWebAppSessionStatePath()
        {
            SessionState state = new SessionState();

            return(state.SessionStatePath(state.GetWebApplicationPath()));
        }
Exemple #2
0
        /// <summary>
        /// Get the session state path.
        /// </summary>
        /// <param name="specificPath">The specific path of the config file, used for web applications.</param>
        /// <returns>The full path of the logging file.</returns>
        public static string GetSessionStatePath(string specificPath)
        {
            SessionState state = new SessionState();

            return(state.SessionStatePath(specificPath));
        }