DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JSP (http://www.daniweb.com/forums/forum24.html)
-   -   passing session object from login page to next page (http://www.daniweb.com/forums/thread69949.html)

vasudha k Feb 14th, 2007 1:20 am
passing session object from login page to next page
 
I have a small problem........
I have designed a page which should be accessed by valid users. after logging in , they have to access the page via a link. for this i have used send redirect method . but my session object is not being passed here.

via the session object, the username of the person logged in is retrieved , certain fields in the form will be filled automatically from the database. but iam not able to retrieve this session object to the form .
If i donot use any link ,the code works fine. but i have 3 links to be accessed.......

should i use <jsp:forward> ? ihave tried using this. but it doesn't work .

vasudha k Feb 14th, 2007 4:18 am
Re: passing session object from login page to next page
 
Quote:

Originally Posted by vasudha k (Post 315028)
I have a small problem........
I have designed a page which should be accessed by valid users. after logging in , they have to access the page via a link. for this i have used send redirect method . but my session object is not being passed here.

via the session object, the username of the person logged in is retrieved , certain fields in the form will be filled automatically from the database. but iam not able to retrieve this session object to the form .
If i donot use any link ,the code works fine. but i have 3 links to be accessed.......

should i use <jsp:forward> ? ihave tried using this. but it doesn't work .

!!!!!!!! solved


All times are GMT -4. The time now is 9:39 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC