Cookie handeling in HTTP and POst, then to assing to browser

  • Автор темы Автор темы ds1718
  • Дата начала Дата начала

ds1718

Client
Регистрация
25.11.2011
Сообщения
33
Реакции
4
Баллы
0
Hi Guys,

I have a site I am doing several steps in HTTP then post to fill out forms

All goes well until there is an image upload button.
I don't know how to pass the image upload in post, so I was trying swap back to the browser.

Now I am having a hard time passing the cookie that I have stored back to the profile or browser section.

Any ideas how to store the cookie to profile?, or load it to browser session?

Thanks
 
I dont think POST to profile is possible, because the profile data has another file with a different extension.
but I think you can emulate the image upload using POST request too. If its not a private site do post the URL here so that we too can try and come up with a solution.
 
craigslist.org
 
I dont think POST to profile is possible, because the profile data has another file with a different extension.
but I think you can emulate the image upload using POST request too. If its not a private site do post the URL here so that we too can try and come up with a solution.

I have been trying to upload the images in the http post, but I am not familiar with how to do it, passing full file path to the images does not work
 
what I am trying to do in moving to the browser, is get the Cookie ( I already have it stored)
then open the current page in Browser. The issue comes in to fully opn the current page with the current cookie.

Been trying with C# to assign the cookie using

System.Net.Cookie(cl_session, {-project.variable.cookie-}, '/', .craigslist.org)
with no luck in staying logged in
 
OK, got the upload button working, now how to pass the cookie back to the browser?

Cookie: cl_b=6KIfG8sq4xGq2wQ61CbRsgUq+bM; cl_img=list; cl_session=t9WsmP2akHhNQRGHDgyRDymip78yWzEK2Br1yink2c2ZqYUUhheTnkHJFCbblPXF


that is the cookie (s) that I would like to move to the user profile, and store.

how to do that?
and be viewable to move from get and post to viewable browser
 
I tried this. and it does not open in a browser.
I am trying to actually open the next page in the browser with the cookies I have from the HTTP get and post.


I want to pass the cookies to the user profile, and be able to sue them. so when I open the page I am on, the cookie says OK, and displays it the same location and login I was on..

Does that make sense?
 
Anyone got a solution for this?
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)