• Post Reply Bookmark Topic Watch Topic
  • New Topic

accessing asp pages

 
Moses Rosario
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have to read using java code from a website which has asp pages.
It has a login asp page and then successive asp pages.
I'm able to successfully login using HttpURLConnection but when
I try to access the rest of the pages it returns me to the login asp page.
Any advice greatly appericiated.
Thanks,
Moses
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Moses,
Welcome to JavaRanch!
I would guess that the site only works if cookies are in operation. Unless you specifically manage the cookies for a session with this web site, it won't work properly; HttpURLConnection doesn't do it for you automatically. Here's an article that tells you what to do.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!