Results 1 to 1 of 1
- 04-18-2011, 06:22 AM #1Member
- Join Date
- Apr 2011
- Rep Power
problem in getting the content of the url
I have been stuck with one problem for more than a week.
My requirement is to get the content of the URL. The URL needs login credentials.I can pass the login credentials to the URL and i can get the content of the home page but one problem is if i pass anyother URL with in that particular website the session is not getting maintained and I am getting the "No cookie found" page or "you are not logged in".
what i am trying to do is going to the homepage and maintaining the session and if i pass another URL then it will be redirected to that page.
i have tried that first using one URL class and passing the username and password for the homepage and then keep logged in and using another instance of URL class and getting the content of that particular URL.But i cannot maintain the session and i am getting the same No cookie found or user not logged in page.
Pls advice me on this issue.
Thanks in advance/
- By ThisIsPathetic in forum New To JavaReplies: 1Last Post: 03-20-2011, 07:24 PM
- By dedmorozor in forum Java AppletsReplies: 4Last Post: 07-16-2010, 09:15 AM
- By REVANSIDDHA in forum Advanced JavaReplies: 1Last Post: 03-31-2009, 06:53 PM
- By poonam2008 in forum EclipseReplies: 0Last Post: 11-30-2008, 02:30 AM
- By kasipandian in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 02-01-2008, 02:15 PM