Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nikolean

#1
Anything else we might add? /
November 22, 2005, 03:10:18 AM
many thanks for responses and example! I will try to use socket functions...

But I think it would be great to add one more option to get-url and similar functions to be able to get whole response content... or may be return it as a list (header/body) ?
#2
Anything else we might add? / get-url question
November 21, 2005, 12:52:22 PM
newbie in NewLisp here...greetings to NewLisp creator and community...



I have a question. I'm trying to create (my first more or less serious) newlisp script that should go to password protected page, login there, and fetch some information from the next page after login... I have created similar scripts in perl in the past, and now trying to do the same in newlisp.... and got some problems...

Login page sets cookie that need to be transferred to next page (along with some other info passed in the page body).  However, when I try to use get-url (or post-url - doesn't matter in this case), I can read only either page header (with cookie data) or body. I need to get both parts of the request to be able to read cookie AND other variables stored inside HTML/form code. Is it possible?



thanks,

Andy