what is same c# code in javascript? -


 httpcookie newcookie = request.cookies["cookie1"];   int count = (newcookie .values.keys.count) / 6;  int keycount = (newcookie .values.keys.count);  string val = httputility.urldecode(newcookie .values.getkey(i).tostring());  string str = newcookie .values.getkey(i).tostring();   // loop counter 

i want use javascript cookie, there way use same code in javascript above c# code?

try like

 set cookie : document.cookie = "username=; expires=thu, 01 jan 1970 00:00:00 gmt";  cookie : vat x = document.cookie ; 

Comments

Popular posts from this blog

bash - How do you programmatically add a bats test? -

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

java - Getting exception in JDBC thin driver -