0
votes
0answers
21 views

Single Sign on Login

I am using to single sign on login using soap. When I login from my page it works fine and other website will login automatically on page refresh but when I refresh the page after login into another ...
0
votes
2answers
27 views

How to check if a specific value exist in a session array

Hi I have a list of id values i.e. 1,2,3,4,5,6. When I store any of this values in to a session variable array. For example say we store 4 and 2 in the array $_SESSION['value'] = array(); ...
0
votes
1answer
23 views

PHP Handling sessions and cookies different folder

I've a problem. I've created a web app where the person logs in and many $_SESSION[...] are set. The point I found weird is that if I log in in the folder http://demo.site.com/ and I log in in ...
0
votes
1answer
39 views

PHP: delete cookie before redirect fails [duplicate]

There are a lot of posts about that issue, nevertheless I'm unable to fix it. I try to delete a cookie in order to logoff the user in PHP and do a redirect afterwards: $currentCookieParams = ...
0
votes
2answers
40 views

Security vulnerability from saving user info in PHP sessions?

I am creating a RESTful API-centric web application. Once a user logs in they will receive a session id and login key that will be used for accessing their data until their session expires. The web ...
-2
votes
0answers
22 views

Transferring and bidding of products

I am building a small php and mysql website. The aim is users come onto the site and list products to sell using a form.. Buyers can come and purchase the products the sellers are selling. A buyer and ...
0
votes
1answer
35 views

echo a session variable in a <a href> over to the next page?

Please can someone help me with this. I have this MySQL query which lists users on my site, and echos a link that can be clicked to take you to the user's profile: <?php $online_set = ...
0
votes
2answers
56 views

Increment SESSION amount PHP

I'm using sessions to populate a simple shopping cart but, I'm having some problems getting the itemAmount to increment if an item_id already exists within the session['cart']. I have been trying to ...
2
votes
2answers
38 views

Can't make Ajax login to RESTful server

I'm trying to setup a login system using ajax. After the user inserts his login and password in subdomain.domain.com (which could also be otherdomain.com) I make a Jquery $.post request to ...
0
votes
6answers
46 views

session not working between pages of different directories

I had been working on this issue since last two days, but still unable to solve. i had two script one in root directory where session registered and remain persistent when i access the page again, ...
0
votes
1answer
22 views

MSSQL and PHP: Select specific row based on which button is clicked

I am making a website for a mock book database using MSSQL where users can search for different books and select particular books that they might like to add to a list of favorites under their account ...
0
votes
0answers
17 views

php sessions expire too fast - session.gc_maxlifetime

I set session.gc_maxlifetime to 43200, which should be 12 hours, but my sessions still expire very fast. I want it to be at LEAST 12 hours i created a php_info.php file so i can see how things are ...
0
votes
1answer
28 views

PHP cookie variable getting deleted between programs

I tried searching for this issue on this forum but could not get it. So making a new post. Request you to redirect me to the right solution if available. Problem: I am trying to use Facebook login in ...
0
votes
1answer
25 views

Use cookie in a PHP login page

I'm create a form to login with PHP (and, obviously, MySQL). This is the PHP code: <?php $host = 'localhost'; $db_user = 'root'; $db_password = ''; $db_name = 'learningsql'; $username = ...
0
votes
0answers
19 views

Guzzle cookies handling

I'm building a client app based on Guzzle. I'm getting stucked with cookie handling. I'm trying to implement it using Cookie plugin but I cannot get it to work. My client application is standard web ...

1 2 3 4 5 370
15 30 50 per page