I am trying to download a PDF file that is located here http://elwatan.com/pdf/telecharger.php?dir=JOURNAL&file=20120524.pdf , however, this pdf file require to be logged in before you download it. I was able to log in, but the server redirects me to the home page http://elwatan.com , and when i try to fetch the pdf's url again, i can't download it cause it seems that i am not logged in ! I think that i need to use cookies, right?
if yes, can you please explain me how to, cause i never used them before. ?
Thank's :)