Then waht are the drawbacks of using static in this senario?
. in-depth postback,a ur field to in from
b*s
2 楼
Session and page cache expire after a specific time.You can predetermine the expire time.But you can never predict how long the user stay online.So once session or cache expires while the user is still online, your application should refresh them.The biggest disadvantage of cookie is that the user may refuse to store cookie in his or her local computer due to the security concern.Hidden field is almost like any field in a web page except it is not visible.So the drawback of using hidden field is
【在 c*o 的大作中提到】 : Then waht are the drawbacks of using static in this senario? : : . : in-depth : postback,a : ur : field : to : in : from
k*i
3 楼
not totally correct about cache
any can soooooooooo store send
【在 b********s 的大作中提到】 : Session and page cache expire after a specific time.You can predetermine the : expire time.But you can never predict how long the user stay online.So once : session or cache expires while the user is still online, your application : should refresh them.The biggest disadvantage of cookie is that the user may : refuse to store cookie in his or her local computer due to the security : concern.Hidden field is almost like any field in a web page except it is not : visible.So the drawback of using hidden field is