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

Answer Posted / master

it is possible by passing the username and password through
the url or using hidden fields if the site contains forms
in all the subsequent pages , else through the url encrypt
the username and password and decrypt the value and check
whether the values passed it same with some predefined
values.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does pear stand for?

538


What are some of the advanced features of php?

504


How do I check if a given variable is empty?

530


How to set session.gc_maxlifetime properly?

572


Tell me what sized websites have you worked on in the past?

506






How long does a php session last for?

569


What is varchar mysql?

582


Can I learn php without knowing c?

561


Explain setcookie() function in php?

566


How to send email using php script?

524


Why php is used?

605


Explain what are psrs?

508


How many functions are there in php?

521


What is polymorphism php?

504


What is a php 5?

551