ClearAllCookies

Clears all cookies created by Linkedin login, and clear sessions

<%
Sub ClearAllCookies()
 Session.Abandon
 Response.Cookies(cookieID).Expires = Now()
 Response.Cookies(cookieID & "in_id").Expires = Now()
 Response.Cookies(cookieID & "in_1stname").Expires = Now()
 Response.Cookies(cookieID & "in_lastname").Expires = Now()
 Response.Cookies(cookieID & "in_email").Expires = Now()
 Response.Cookies(cookieID & "in_headline").Expires = Now()
 Response.Cookies(cookieID & "in_numConn").Expires = Now()
 Response.Cookies(cookieID & "in_PicUrl").Expires = Now()
 Response.Cookies(cookieID & "in_profilelink").Expires = Now()
 Response.Cookies(cookieID & "in_profilelink2").Expires = Now()
 Response.Cookies(cookieID & "in_profilelink3").Expires = Now()
 Response.Cookies(cookieID & "in_specialties").Expires = Now()
 Response.Cookies(cookieID & "in_Summary").Expires = Now()

 Response.cookies(CookieID & "siteuserid").Expires = Now()
End Sub
%>

Views 982 Downloads 332

'Linkedin'

ANmarAmdeen
333
Sessions Classic ASP
Revisions

v1.0