Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to create cookies

 
prashanth pendurthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What code are you using in the applet (+ the page it resides in) to get the sessionID?
 
prashanth pendurthi
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic