This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills: The software developer's life manual and have John Sonmez on-line!
See this thread for details.
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IE session gets cleared

 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether Cookie is enabled in your IE ?
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
then check your Php application's session logic
 
Devan Brahma
Ranch Hand
Posts: 46
Hibernate Java Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20368
43
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic