Hi, I'm trying to translate this PHP script that goes at the top of a page to C#:
1 <?php
3 session_start();
4
5 if(!isset($_COOKIE['name'])) {
6
7 echo "access denied";
8 exit();}
9 ?>
I used the C# return, but it keeps loading the rest of the page.
Any ideas?
Thanks in advance.