[thelist] asp cookies -- print all?

thelist at cjmarsh.com thelist at cjmarsh.com
Wed Jan 11 16:51:59 CST 2006


Brian

[..]

> > Sub PrintCookies
> >      Dim strResult
> >      For Each cookie in Request.Cookies
> >          strResult = strResult & "," & cookie
> >     Next
> >     PrintCookies = strResult
> > End Sub
> 
> volkan, that doesn't seem to work.  But, the problem i was facing was 
> avoided due to yet another last-minuet change by the client.

Try the following, if you still care:)

Function PrintCookies
    Dim strResult
    For Each cookie in Request.Cookies
        strResult = strResult & cookie & ": " & Request.Cookies(cookie) &
"<br />" & vbCrLf
    Next
    PrintCookies = strResult
End Function

Regards

Chris Marsh

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.16/225 - Release Date: 09/01/2006
 




More information about the thelist mailing list