File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 61761
    
  67

"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cookies and Login Issue