File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes IE session gets cleared Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "IE session gets cleared" Watch "IE session gets cleared" New topic
Author

IE session gets cleared

Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

hi,
i am having a problem with the session in IE.
actually the thing is when i login i set the session and go to home but in IE when the user clicks
on a menu item it gets logged out.
can any one suggest or say what is the problem with it.
only in IE the session gets cleared.
i checked with firefox and chrome my site works perfect in that .
and also when i run it in localhost its perfect .
but when i run it on server the session gets cleared out.
Please suggest me what to do

thanks ,
Devan

->R§H<-
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Whether Cookie is enabled in your IE ?
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

hi,
another thing is ..i am integrating my application to a php site .
and when i run my apllication only it works well in IE.
but with php site the session gets cleared.
thanks
Devan
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

then check your Php application's session logic
Devan Brahma
Ranch Hand

Joined: Jul 07, 2009
Posts: 46

Hi,
my php programmer says that each time when the page refreshes or reloads
the session gets cleared .
And my java part needs to load another page for working.
so can anyone give me a good solution for this problem
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19541
    
  16

What kind of application is "your application"? Is it a web application, applet, standalone (Swing) application?

Devan Brahma wrote:Hi,
my php programmer says that each time when the page refreshes or reloads
the session gets cleared .

If the session of his PHP pages get cleared whenever you refresh / reload then a) you do not support cookies, or b) the PHP programmer doesn't know how to handle sessions. When properly used and cookies are enabled, session will survive refreshing / reloading without any problems.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IE session gets cleared
 
Similar Threads
Application Fails when cookies where not cleared daily
Application Fails when cookies where not cleared daily
Application Fails when cookies where not cleared daily
Cleared Exam!
cleared SCJP6