943,565 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Marked Solved
  • Views: 4399
  • JSP RSS
Feb 14th, 2007
0

passing session object from login page to next page

Expand Post »
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 .
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vasudha k is offline Offline
17 posts
since Feb 2007
Feb 14th, 2007
0

Re: passing session object from login page to next page

Click to Expand / Collapse  Quote originally posted by vasudha k ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vasudha k is offline Offline
17 posts
since Feb 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: jsp with IIS
Next Thread in JSP Forum Timeline: execute jsp in tomcat





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC