CoSign: Collaborative Single Sign-On  
AnnouncementsDiscussion
 

cosign-discuss at umich.edu
general discussion of cosign development and deployment
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: logout vbscript




Chris,


I haven't had a chance to try out your script yet. It certainly looks like it's
doing all the right things! Just to be sure, the logout script is behind a
cosign-protected URL, right?


--Jarod

Quoting Christopher Lafty <chl114@xxxxxxx>:

I'm trying to build a logout script in vbscript, but it doesn't seem to
function.  Here it is:
<%
   Session.Abandon

   'get cosign cookie name as string
   cosignCookie = CStr(Request.ServerVariables("HTTP_COSIGN_SERVICE"))

   Response.Cookies(cosignCookie)="null"
   Response.Cookies(cosignCookie).Expires = Date()-1000
   Response.Cookies(cosignCookie).Domain ="/"
   Response.Cookies(cosignCookie).Secure=True

   Response.redirect "https://webaccess.psu.edu/cgi-bin/logout";
%>

Any takers? I would use php or perl, but don't have the option.

Thanks,
Chris

--







.....................................
:: Christopher Lafty
:: Web Site Administrator
:: Department of Biology
:: Pennsylvania State University
:: chrislafty@xxxxxxx
.....................................









 
Copyright © 2002 - 2004 Regents of the University of Michigan :  Page last updated 15-December-2010