Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

PHP Interview Questions
Questions Answers Views Company eMail

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

TCS,

6 11913

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 ?

PA Consulting, TCS,

4 9790

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)?

TCS,

8 16873

Whether session will work if we disable cookies in client browser ?

10 22975

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 , 10

Aquasol, Infosys, TCS, Torque Infotech,

14 40307

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) ?

TCS,

2 7011

What is the difference between include and include_once ? Which is one is good in terms of performance ?

Dest,

2 6047

What is the difference between mysql_connect and mysql_pconnect ? Which one is good in terms of performance ?

4 12742

How session works (internal processing of session) ?

ASD Lab, IPSR Solutions,

3 11301

Does not want to see PHPSESSID in the url. How can be done this ?

3 7108

How to check whether cookies are disbled or not in the browser ? If that is the case how do you handle the sessions ?

1 4363

What is serialization / object serialization ?

2 5795

What is the purpose of destructor ?

2 6136

Whether site will complete the execution of the script if Fatal error occurs ?

1 3771

when ever the user logged in the database table the current registered date will be appeared

3 5549


Post New PHP Questions

Un-Answered Questions { PHP }

How can we display the output directly to the browser?

1057


What are the array functions in php?

1035


Which is better wamp or xampp?

1023


Explain me difference between mysql_connect and mysql_pconnect?

1011


What are php magic methods/functions?

1057


Is php deprecated?

1061


Is rent a variable cost?

1027


What is the most common http method?

1150


What is the static variable in function useful for?

1029


How be the result set of mysql handled in php?

1208


How to include a file code in different files in php?

1188


Explain me what is the importance of "method" attribute in a html form?

987


Which php framework is best for beginners?

1184


How do you connet mysql database with php?

1132


What is meant by urlencode and urldecode?

1141