asp.net - ASp .net Session variables persistance and modifications -
i using standard session in asp .net store user variables. problem in code change fields in variables fetch session. question is, should do? how should handle variables sure latest changed version stored in session. there kind of mechanism this?
you should wrap session value in property read , write property
public string myval{ get{ return session["myval"]; } set{ session["myval"]= value; } }
Comments
Post a Comment