• Post Reply Bookmark Topic Watch Topic
  • New Topic

session retriving while forwarding to other site  RSS feed

 
sivakiran Inampudi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In My web application,
I am storing some data in session object, and i am forwarding it to some other site at the middle of application, and at the end, the page is redirected to my home site. At that time i lost all the data which i was stored initially.

How can i retrieve the data which i was stored initially?, Please solve my problem
 
Rusty Smythe
Ranch Hand
Posts: 93
Mac Objective C Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sivakiran, demaning that someone solve your problem is not going to get anyone to help you at all. I suggest you read the FAQ thoroughly.

Let me point you in the general direction: sessions are stored on the server, not on the client.
 
Stefan Evans
Bartender
Posts: 1836
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct the session is stored on the server.

The client needs to identify that it is the same client, and it gets the same session.
If you are using standard session cookies, then it should be possible to leave the web application and come back with the same session (provided you don't close the browser) and have it recognise you (because the cookie is still present)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!