
March 9th, 2004, 07:20 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Logout Help Needed
Hope this is the right forum to post this question in...
I've seen some logout code like:
<%session.Abandon %>
<%Response.Cookies("member_id")=""%>
 The problem is that I don't know what file to put these lines of code in. Is it a separate file, an include file, or should these lines of code go into the same page as the logout link? Also, do these lines of code go inside the <Head> and </Head> tags, above them, or below the <Body> tag? Do I need to precede them by some kind of <scriptlanguage="some script language"> tage and end them with a </script> tag? (I assume the above lines of code are .asp code.)
Also, I notice that this has something to do with cookies. I've never written a cookie or used one (knowingly) on my server. I have no idea how to get a cookie stored on a user's computer.
Thanks in advance for your help. 
|