How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not
1.Where are the sessions storing ? 2.What are the contents of a session file ? 3.If the server is loaded with too many session files there is a possibility of server crash. How can we solve this issue? 4. How does php server identify that the particular session belongs to particular user ? For ex: If two users A and B logged from different machine, separate session files (say 1 and 2) will be created in the server. But how the php knows that 1 belongs to A and 2 belongs to B ?4 6274
1.Where are the cookies storing ? 2.What is the drawback of using cookies ? 3. If two site is having same cookie name and different values what will be the output if we echo the cookie name from those sites ? How can we solve this issue (How can we specify the domain name)?
Whether session will work if we disable cookies in client browser ?10 16487
1. Write a function to swap two values ? $a = 10; $b = 20; echo $a, $b; swap(); // If u want u can pass parameters echo $a, $b; // It should print 20 , 1014 28252
This question is regarding version control. If two developers are committing the same php file at same time what will happen ? What error it will show (if any) ?
What is the difference between include and include_once ? Which is one is good in terms of performance ?
What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?4 10197
Does not want to see PHPSESSID in the url. How can be done this ?3 4830
How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?1 2930
What is serialization / object serialization ?2 3915
What is the purpose of destructor ?2 4188
Whether site will complete the execution of the script if Fatal error occurs ?1 2317
when ever the user logged in the database table the current registered date will be appeared3 3212
What is session in c#?
What is mysqli_fetch_array?
How to calculate the length of a string?
What is the difference between Session and Cookie?
What is the use of isset() in php?
What is a namespace in php?
Which function is used in php to search a particular value in an array?
Is laravel frontend or backend?
How check field is empty or not in php?
what the new feature add in php 7.2?
What language is php based on?
How many escape sequences are recognized in double-quoted strings?
Is php fully object oriented?
What is php destruct?
How to open a file in php?