my dog learned polymorphism
The moose likes Servlets and the fly likes Cookies and Login Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Cookies and Login Issue" Watch "Cookies and Login Issue" New topic

Cookies and Login Issue

Sowjanya Venkiteela

Joined: Nov 25, 2009
Posts: 17

I have an application developed on struts and runs on JBOSS.

We recently moved our code to a public ip say ***.**.***.**;

After that we have introduced an URL by DNS server.

Now the problem is I am unable to login in when my cookies in my browser(only IE) is disabled in Internet Explorer.But,it is fine with other browsers in both cases like enabling/disabling the cookies.

And it is working fine with Internet Explorer when I enable the cookies.

Internally,when an user is logged in I am storing my session id and checking that in my application at relevant times.(when ever a user on memu items etc..).In all the cases my session id is same till logout.But in IE without enabling cookies a new session id is created.So,when I am checking to work with menus,I got a mismatch and application is failing.
Please do the needful.

Thanks in Advance,

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

"Sowjanya Vr", please check your private messages for an important administrative matter. And do it before your next post. You are in danger of having your account removed.

[Asking smart questions] [About Bear] [Books by Bear]
Amit Savani

Joined: Mar 02, 2009
Posts: 17
Are you using URL rewriting?

SCJP 1.4, SCBCD 5.0
I agree. Here's the link:
subject: Cookies and Login Issue
It's not a secret anymore!