• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

sessionid problem

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am face a problem while redicating a control to another page. the jsessionid is attached to the URL and page is not displayed. eg.

http://localhost/dispose/tele2_frameMaster.htm;jsessionid=2476581099147291875

This i am doing in JRun web server. this problem comes first time ony whenever we open a new browser. if we press back and try to login again, it didn't come. page is available then.

Plz can somebody guide me to the solution.

code snippet :

...
...
if(r1.next())
{
session.putValue("userId", m_username);
session.putValue("extn_no", m_extn_no);

if(m_username.equals("1947")){

response.sendRedirect("/dispose/tele2_frameMaster.htm");
System.out.println("reqdisp");

}else{

user_name = r1.getString("agent_name");
session.putValue("sess_user",user_name);
response.sendRedirect("/dispose/tele2_newframe6_dataentry.jsp");
}
}
else
{
response.sendRedirect("/dispose/tele2_loginfails.jsp");
}

...
...
reply
    Bookmark Topic Watch Topic
  • New Topic