File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Cookie and activex reports Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Cookie and activex reports" Watch "Cookie and activex reports" New topic

Cookie and activex reports

neha gowda

Joined: Feb 04, 2004
Posts: 23
Hi all,

I have a J2ee application deployed on websphere. In one of the reports page, I use ActiveX control which takes cookie name cookie value as its parameters.
While loading this active report I create a new cookie (if it already doesn't exist) with session id as its value. If cookie with this name exist I update the cookie value.

This activex control worked fine as long as I din't create new session whenever I opened this activex report, but my application needs new session id created whenever I open this activex report, Hence now activex report opens the first time ,then onwards I get error.

I think this prolem is due to the cookie is updated with new session id whenever the report is opened.

Can anybody suggest a solution to this problem.

I agree. Here's the link:
subject: Cookie and activex reports
It's not a secret anymore!