Store session values using Javascript
C#
2
Posts
2
Posters
0
Views
1
Watching
-
I got this script for reading session values using Javascript code>var color='<%= Session("color").ToString() %>' But my requirement is to store Session values using Javascript.Can any one plz tell me how to do it ? Thanks in Advance
-
I got this script for reading session values using Javascript code>var color='<%= Session("color").ToString() %>' But my requirement is to store Session values using Javascript.Can any one plz tell me how to do it ? Thanks in Advance
I think u cannot assign a session using javascript that's coz session is set at server side for particular client..however u can retrieve the value from session which u have done... Also u have posted in the wrong forum javascript in C# ?????:doh:
.....