i am new to asp.net.Can you post an equivalent vb.net code following the C#.net code. Thanks
public string getSecureCookie(HttpRequest Request) { HttpCookie secureCookie = Request.Cookies['Test']; if(secureCookie!=null) { return secureCookie.ToString(); } else { return ''; } }
Run through the code translator available at http://www.carlosag.net/Tools/CodeTranslator/
Might want to use
If secureCookie IsNot Nothinginstead, though. But the translator does work.