home *** CD-ROM | disk | FTP | other *** search
/ 221.214.14.186 / 221.214.14.186.tar / 221.214.14.186 / zb / Notepad-zb / logout.asp < prev    next >
Text File  |  2005-12-26  |  344b  |  13 lines

  1. <%
  2. response.buffer=true
  3. session.abandon
  4. dim cookiesPath
  5. cookiePath=request.servervariables("path_info")
  6. cookiePath=left(cookiePath,instrRev(cookiePath,"/"))
  7. if cookiePath<>"" then
  8.     response.cookies("gbook").Path=cookiePath
  9. end if
  10. response.cookies("gbook")("username")=""
  11. response.cookies("gbook")("password")=""
  12. response.redirect "index.asp"
  13. %>