Session problem with URL

S

Santosh

Hi all,

I am running a web application. This is using session (HttpSession). In
this app,
i m creating URL(string url)...here url is application's url.
But this is creating new session as soon as hitting application...

I want to reuse older session....Does any body know how to solve this
problem ?

Thanks in Advance.
 
T

Timo Stamm

Santosh said:
Hi all,

I am running a web application. This is using session (HttpSession). In
this app,
i m creating URL(string url)...here url is application's url.
But this is creating new session as soon as hitting application...

I want to reuse older session....Does any body know how to solve this
problem ?

Use HttpServletResponse#encodeURL() to append the session id to the URL.


Timo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top