aspose file tools*
The moose likes Servlets and the fly likes Unable to create cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Unable to create cookies" Watch "Unable to create cookies" New topic
Author

Unable to create cookies

prashanth pendurthi
Greenhorn

Joined: Dec 05, 2004
Posts: 4
I have developed an application in java servlets & applets.. While using this I'm creating cookies to identify each user. This application worked just fine in IE6 but while using Netscape7.X the applets(the front-end) is running fine but I'm unable to create a sessionID i.e, no cookies..

What should I do to make my application run in Netscape. I've set the preferences in Netscape to 'allow all cookies'. but still it is not working..

Please help me out here.

Thank you..
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
Exactly how does this become apparent? Is there a request generated by the applet that does not contain a sessionID cookie, or what?
Bill
prashanth pendurthi
Greenhorn

Joined: Dec 05, 2004
Posts: 4
Than Q Bill 4 responding..

My applet checks with the session ID which also happens to be an Identifier of the user.. Without the users Identification I'm not able proceed to the next page..

while debugging in the java plugin console. I've printed the session ID . In IE I've been able to print 'em. But in Netscape.. well It just won't come. I mean I'm getting a null value.

Please help me out..

Thanking you in advance

Presi

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12823
    
    5
What code are you using in the applet (+ the page it resides in) to get the sessionID?
prashanth pendurthi
Greenhorn

Joined: Dec 05, 2004
Posts: 4
Hi Bill...

Actually in a servlet we have been using HTTPSESSION to create sessions, which is set as its cookie.

Now I'm unable to create the cookie..

while using netscape.

But the same application runs fine in IE


...
what might be the problem..?

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to create cookies