Hello everyone I have set the value in session with c# code now how to get this session value in javascript code.
Loading
Hello everyone I have set the value in session with c# code now how to get this session value in javascript code.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
rahul kumar80 reputationPosted Apr 15, 2022, 5:37 AM EDT
RohanRank #1,548 · 1K reputationPosted Apr 15, 2022, 5:39 AM EDT
RohanRank #1,548 · 1K reputationPosted Apr 15, 2022, 5:53 AM EDT
Md SarfarajRank #194 · 12.4K reputationPosted Apr 15, 2022, 8:36 AM EDT
Uttam KumarRank #1,076 · 1.8K reputationPosted Apr 15, 2022, 11:11 AM EDT
Set Value
function SetUserName() { var userName = "Shekhar Shete"; ''; alert(''); }Get Value
function GetUserName() { var username = ''; alert(username ); }Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Apr 15, 2022, 11:34 PM EDT