Link to home
Start Free TrialLog in
Avatar of AkaZn
AkaZn

asked on

Login by Socket

In example. the server has a script, check if user has loged in or not by their Session ID (when somebody login, their Session ID will be store in the DB).

I have written a script that use Socket (POST) to Login, and right afterward, I want to GET the data. But, right after I close the POST (use to login) socket connection, my script's Session ID change. So I can't GET the data.

Anyone can help me, how can I keep my script's Session ID after it loged in to read information.
Avatar of AkaZn
AkaZn

ASKER

2 days, and still no comment??

I think it's like what the browser use. When you visit some page with your browser, your Session ID doesn't change, until you close the browser. I want my socket connection have the ability to keep the Session ID like that.
ASKER CERTIFIED SOLUTION
Avatar of nicholassolutions
nicholassolutions
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AkaZn

ASKER

A perfect solutions. It works now. Thank you nicholassolutions.
No problem -- I'm glad it worked. Snoopy is a really neat tool.
Thanks for the A :)