<% response.buffer=true session.abandon dim cookiesPath cookiePath=request.servervariables("path_info") cookiePath=left(cookiePath,instrRev(cookiePath,"/")) if cookiePath<>"" then response.cookies("gbook").Path=cookiePath end if response.cookies("gbook")("username")="" response.cookies("gbook")("password")="" response.redirect "index.asp" %>