Jump to content

How can I remove session from other site


ayoksus

Recommended Posts

Hi,

I've made a kind of login portal where a visitor can login to a specific site from my site. I only create a login form in my site with the exact input field name with that other site. It works fine, people can login from my site.

 

However, if members, after login, go logout, they cannot login back again, because the site does not remove the last session. So visitors cannot login back after logout from that site. I've asked this third party how can it's possible for the members to login back. They said that I need to remove the cookies on the client side. But how can I remove cookies from other site?

 

Thanks in advanced.

Link to comment
Share on other sites

I can create cookie.txt with curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); but I don't know how to read it..

# Netscape HTTP Cookie File
# http://curlm.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

#HttpOnly_start.exactonline.nl	FALSE	/	FALSE	0	ASP.NET_SessionId	y00hrl456hug0o3cyv0y4uye
#HttpOnly_start.exactonline.nl	FALSE	/	FALSE	0	ExactServer{27bbvf83-8f8l-43jg-bjh8-005rt46335e7}	Division=754437
#HttpOnly_start.exactonline.nl	FALSE	/	FALSE	0	ExactOnlineLogin	4750C681E32F0447F6DED886F45645137C3983DD6664AE7020CCE520D06F9C0F4A37173E282643BCFB0404A076AC6719BD56B3E74F5C0EF834F74DFD10244BF2B2F53E45B073C04FCA2266D8935C0C8131D22DAC094AA3E7631DAD3F6B51E5CA191629987EC179FAF0A4C1B31419A1988713D04353HFH54645646j29DB4EA39213AF20610922860CCCA5D88D61406357482237A47549E58831DF7F0B7BFD24C2E31AC2F2B11617CB1FA2148DB47879AF303C835D44945D5E457E44770FB3ECFE9D936C403E7489128B538DC0817631845B3F137D48EAB5CC75444AA3D8B33D64D3A06B52394602D21CE5F471B9114B78C53325BB18E761D4
start.exactonline.nl	FALSE	/	FALSE	0	BIGIP-F5	20167890524.20324.0000

 

Can someone please help me?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.