It's not a secret anymore!
The moose likes Servlets and the fly likes Cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookies" Watch "Cookies" New topic


kedar parundekar
Ranch Hand

Joined: May 10, 2006
Posts: 40
Can we use cookies for session tracking in case of static pages?
Isuru Sampath
Ranch Hand

Joined: Jun 26, 2003
Posts: 57
As long as you are sending the response to a servlet or a JSP you can utilize the session.

Reminder: To the client browser there is no difference between a static page and dynamic page.

So you can send requests from a static page to a JSP or a servlet on the server side.

No Winds No Waves
I agree. Here's the link:
subject: Cookies
It's not a secret anymore!