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
Author

Cookies and Login Issue

Sowjanya Venkiteela
Greenhorn

Joined: Nov 25, 2009
Posts: 17
Hello,


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 http://java.kk.in 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,
Sowjanya.





Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

"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] [Bear's FrontMan] [About Bear] [Books by Bear]
Amit Savani
Greenhorn

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


Regards
SCJP 1.4, SCBCD 5.0
 
Consider Paul's rocket mass heater.
 
subject: Cookies and Login Issue
 
Similar Threads
to forum bartner/sheriff
Context Fragment and Session Problem
URGENT ! user privelidges getting swapped when opening 2 sessions in the same machine
Tomcat 5.5 + IE 6.0: Trouble with session cookies
Disabling Cookies, created problem in web application??