
php-cookie – programming-php – কুইজ মডেল টেস্ট অনুশীলন – 4
8329. What function causes the following header to be added to server’ s output Set-Cookie : foo= bar ;
- serverset
- setcookie
- cookieset
- setserver
8330. Usually ignoring browser bugs, how a cookie can be accessed from a domain other than the one it was set for
- By consulting the HTTP_REMOTE_COOKIE header
- By using Javascript to send the cookie as part of the URL
- It cannot be done
- By setting a different domain when calling setcookie()
8331. How would you store order number (34) in an ‘OrderCookie’
- Cookie(‘OrderCookie’
- 34);OrderCookie(34);makeCookie(‘OrderCookie’
- 34);setcookie(‘OrderCookie’
- 34);”;}}
8332. What will be the lifetime of cookie, if the directive session.cookie_lifetime is set to 3600
- the browser is restarted
- 3600 hrs
- 3600 min
- 3600 sec
8333. Which of the following characters are taken care of by htmlspecialchars
- <
- single quote
- All of the above
- >
8334. If no expiration time is explicitly set for a cookie, what happens to it
- Never expires
- Not set
- Just expires
- Expires at end of user’s browser session
আমাদের কাছে থাকা লক্ষ লক্ষ মডেল টেস্ট থেকে প্রাকটিজের জন্য কিছু এখানে তুলে ধরা হল। প্রতিটি অধ্যায়ের উপরে ইশিখন.কম কুইজ চ্যালেঞ্জ এ আছে শত শত মডেল টেস্ট বার বার মডেল টেস্ট দিয়ে নিজেকে যাচাই কর এবং পুরো বাংলাদেশের সকল শিক্ষার্থীর সাথে আপনার মেধা তালিকা দেখুন। প্রশ্নে কোন প্রকার ভুল থাকলে সঠিক উত্তরসহ নিচে কমেন্ট করে জানাবেন, আমরা ঠিক করে দেবো।