這些行在godaddy帳戶中導致安全異常。任何建議如何重寫,讓這個工作?ASP NET共享帳戶中的安全錯誤
File.Delete(PropsFileName); // Clean up
TextWriter tw = new StreamWriter(PropsFileName); // Create & open the file
tw.WriteLine(DateTime.Now); // Write the date for reference
tw.WriteLine(TokenLine); // Write the BinarySecurityToken
tw.WriteLine(ConvIdLine); // Write the ConversationId
tw.WriteLine(ipccLine); // Write the IPCC
tw.Close();
謝謝!
信息正在寫入臨時目錄中的session.properties變量。