Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP page accessing ASP cookies  RSS feed

 
Chris Salivar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible for a JSP page to access cookies that have been put by an ASP page using the Response. Cookies method in ASP?
Particularly if the cookies that have been put by the ASP page are cookies with keys.
TIA
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cookeis exist within HTTP and JSPs and ASPs just provide and interface to interact with them.
So yes, you can read Cookies set in an ASP from a JSP as long as it follows the Cookie rules (same domain etc)
If you are looking for how to do it, check out
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/Cookie.html javax.servlet.http.Cook-ie in the http://java.sun.com/j2ee/sdk_1.3/techdocs/api/ J2EE API
(Damn UBB and the word 'cook-ie' )
Dave.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!