Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#827888
Hi,

I'm using Anonymous Authentication for Web Entry and build my own login page and system. But after all is passed good, I use wsdl2 to login user.
My first thought was that the problem is because I'm using wsdl2 for logging in users,
But after i used a separate php file to login, everything works fine.
So i think the problem is with Web Entry login and something to do with guest user that first create the Web Entry,
Every time i want to call a REST API i get this:
Code: Select all
{"error":{"code":400,"message":"Bad Request: This case is assigned to another user"}}
I can run processes assigned for the current logged in user, BUT I can't call any REST API methods.

Thanks in advance
Ehsan

SOLVED:
I added
Code: Select all
$_SESSION = []; // clear session

before add new location in HTTP header and using new sid retrieved from wsdl2 login method.

Hope this help someone else :wink:

Hello. For rental housing, there are software solu[…]

Experience heightened pleasure with Cenforce 100 M[…]

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]