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...


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

Answers were Sorted based on User's Feedback



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

Answer / ranjan

No.

Server cookie is a session or we can say that session is
also a cookie on the server.

For session to work, cookies on server as well as on client
browser should be enabled.

We can also make session working without cookies enabled on
the client browser by URL session passing

Is This Answer Correct ?    26 Yes 7 No

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

Answer / naaz

I guess the answer is Yes,

Because if the question is disabled cookies on the client
browser then the session id is passed through the URL
instead of writing it as a cookie file on the user's system.

Is This Answer Correct ?    16 Yes 4 No

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

Answer / adrevol

Answer is NO

for more information please visit

http://www.ittreats.com/os/php/work-around-for-sessions-on-
cookie-disabled-machines-in-php.html

Is This Answer Correct ?    6 Yes 2 No

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

Answer / pankaj kamble

when cookies disable on client browser , in that case
session will not work .

if any one say that session store on server and cookies
store on client browser , ya i am agree that . but its also
true.

If client browser cookies is disable then session will not work.

Is This Answer Correct ?    9 Yes 6 No

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

Answer / shyam

Hello Friends,

It's little tricky. If you have created a session(termed as
session_id) on serve and after that you disabled the cookie,
the system will go on. No session out will happen, till you
logout or clear cookie of browser.


But if cookie is disabled for a browser then you cannot
create a new session on that browser.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / bikash ,kendrapara

i also note that the PHPSESSID is stored in a Cookie and not
a Session variable. i can pass the PHPSESSID in the headers
if i can get it from the session variables instead of
cookies. but that still wont help if i want to use variables
instead of tables to store info.

Is This Answer Correct ?    2 Yes 2 No

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

Answer / abhishek sharma(srm)

No,

maintaining value in cookie wont be possible. In that case
you have to make use of other ways to maintain state of the
data on page.
you can check whether client support cookies or not by using
Request.Browser.Cookies property.

Is This Answer Correct ?    2 Yes 2 No

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

Answer / sandip gend

Yes..
If you want to disable the use of cookies in your ASP.NET application and still make use of session state,
you can configure your application to store the session identifier in the URL instead of a cookie by setting the
cookieless attribute of the sessionState configuration element to true, or to UseUri, in the Web.config file for
your application.
The following code example shows a Web.config file that configures session state to use cookieless session
identifiers.

Code:
<configuration>
<system.web>
<sessionState
cookieless="true"
regenerateExpiredSessionId="true"
timeout="30" />
</system.web>
</configuration>

Is This Answer Correct ?    0 Yes 0 No

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

Answer / gurname singh

Answer:No

Its Not Work because browser save a sessid in
cookie That's why its not work in core php
happy coding

Is This Answer Correct ?    3 Yes 4 No

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

Answer / ravi

definitely yes

SESSION DOES NOT DEPENDS UPON CLIENT BROWSER

Is This Answer Correct ?    9 Yes 16 No

Post New Answer

More PHP Interview Questions

How do I run a php script?

0 Answers  


Tell me when a conditional statement is ended with an endif?

0 Answers  


How do you use an array in excel?

0 Answers  


What is php and its uses?

0 Answers  


what is hidden variable? what is its difference with the normal variable...

2 Answers   Shine,


Can we run php in apache tomcat?

0 Answers  


How you can update memcached when you make changes to php?

0 Answers  


What is difference between post and put in rest?

0 Answers  


Tell me what is the use of "ksort" in php?

0 Answers  


How can I find the width and height of an image resource?

2 Answers   Rushmore Consultancy,


programm for factorial

1 Answers  


how many types of error in PHP.

3 Answers  


Categories