?
Solved

new session upon saving of page in IE...

Posted on 2003-03-10
4
Medium Priority
?
149 Views
Last Modified: 2011-09-20
I am transacting through IE browser using JSP session and during these transactions, I am saving each JSP as html (specifically: using IE file then save as...).  However, I found out that a new session is created during the saving process and so my servlet is receiving an unexpected session and so resulting to an error (some expected data are lost).  Is this normal?  I hope it's not...  Plese help...

Aris Adrian B. Datuin
Developer
0
Comment
Question by:arisadrian
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 92

Expert Comment

by:objects
ID: 8108452
Sessions are destroyed and created on the server so I don't understand why your servlet is having a problem.
0
 
LVL 14

Accepted Solution

by:
kennethxu earned 150 total points
ID: 8108499
save as won't create a new session, it will be the save effect as you go to another page and hit back. that means if you set your page expires or no-cache. the request will be re-sent to server for process. this sometimes cause a errors when some data have already been processed in previous request.
0
 
LVL 92

Expert Comment

by:objects
ID: 8108576
If there is a new session being created then it is your server code that is creating it. Check that your server code handles correctly the page being resubmitted.

What makes you think a new session is being created?
0
 

Author Comment

by:arisadrian
ID: 8165343
Thanks for your comment...  It was a big help...
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Check out the latest tech news, community articles, and expert highlights in August's newsletter.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question