Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-11-2008, 04:19 PM   PM User | #1
Robin John
New to the CF scene

 
Join Date: Sep 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Robin John is an unknown quantity at this point
passing session from one application to another

Hi,

i am dealing with 2 applications (2 ears) and i need the session to be the same throughout the 2 applications, to deal with session timeout.

i am doing a response.sendRedirect(actionUrl);
but its creating a new request totally and 'm loosing the session and other objects present in session.

i dont want to store the data in DB as well.

how to get to the other application with the same session intact.

any help would be grateful. thanks in advance.
Robin John is offline   Reply With Quote
Old 09-12-2008, 11:36 AM   PM User | #2
shyam
Senior Coder

 
shyam's Avatar
 
Join Date: Jul 2005
Posts: 1,563
Thanks: 2
Thanked 163 Times in 160 Posts
shyam will become famous soon enough
you cannot pass the session from one application to another...you can use an entirely different application like SSO to keep track of a user session between applications. But, here again you will not be allowed to store custom session objects for use everywhere.
__________________
You never have to change anything you got up in the middle of the night to write. -- Saul Bellow
shyam is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:06 PM.


Advertisement
Log in to turn off these ads.