本文介绍了javascript中的会话问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在mvc中如何获得当前的文化?



我的应用程序我在登录页面的会话中维护文化名称。现在我重定向到下一页我想获取当前使用java脚本或jquery在会话中维护的文化名称?

in mvc how to get current culture ?

in my application i am maintain culture name in session from login page . now i redirect to next page i want to get the current culture name which i am maintained in session using java script or jquery only?

推荐答案

var value= '@Session["culture"]';



注意:在会话之前和之后应保持引号


Note : should maintain quotation marks before and after session


这篇关于javascript中的会话问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 19:13