但是,另一方面,我有一个主题表。在主题表中,我也有一个last_post_id和topic_id!topic_idInsert 插入与主题相关的数据(主题title..etc,插入last_post_id =0,因为这里不知道此值),然后检索last_post_id).post数据(文本、用户名. top
我的asp.net站点允许用户从app_themes文件夹生成的列表中选择他们想要的主题。有时,主题会被重命名或删除。任何选择了已删除主题名称(存储在cookie中)的用户都将得到异常:
Theme 'XXX' cannot be found in the application or global theme directories