multivalue cookies

  • Thread starter Thread starter Joel Barsotti
  • Start date Start date
J

Joel Barsotti

In asp3, you could set a multivalue cookie by doing something like this

Response.Cookies("login")("user") = Session('user');
Response.Cookies("login")("password") = Session('password');
Response.Cookies("login")("version") = Application('cookieVersion');

I can't seem to find a way to do anything similiar with the HttpCookie
object, is there something that I'm missing or do I need to manage a cookie
for each value I want to set these days?
 
yup that's exactly what I'm looking for

S. Justin Gengo said:
Joel,

I think this is what you're looking for:

Response.Cookies("login").Item("user") = Session('user');
Response.Cookies("login").Item("password") = Session('password');

Sincerely,

--
S. Justin Gengo, MCP
Web Developer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 
Back
Top