vb.net - What is the impact of multiple cookies in my asp.net site -


i have vb.net website, cant seem declare global variables, impact have on both client , server side if create cookies global variables ?

you have first investigate why can not have global variables.

in asp.net can not "declare" global variables instead need add them

to session object or application objects:

session("myvariable")=12 

and later can read as:

dim b integer=session("myvariable") 

cookies created on client machine , not proper way storing of global variables user preferences.

impact client browser may not allow cookies , program fail @ storing it. cookies safety debatable.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -