Question about The PHP Group PHP

1 Answer

PHP Troubleshoot I need some PHP Troubleshooting, for some reason PHP doesn't create session cookies. Any suggestions?

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Contributor
  • 30 Answers

Is your "C:\PHP\Sessions" directory writeable by your IIS user account?

is Use_Session_cookies enabled?

Posted on Aug 10, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Want to Learn how to create web pages?


It would be really good if you could what problem are you facing.
However at first go, My suggestion would be you go to w3schools.com and learn HTML5,jquery,bootstrap this will help you design the way you want in very intuitive way. Once You are through on that then only go for PHP+Mysql

Mar 21, 2015 | The PHP Group Computers & Internet

6 Answers

Which programming language use to build online ecommerce website?


In my point of view, PHP Web Development will give you a chance to make the best use of the platform to develop various applications which can be used for your ecommerce website.
View here http://tinyurl.com/cxxbguo

Dec 05, 2012 | The PHP Group Computers & Internet

1 Answer

Sir , we are run cystal reports in vb.net , but that time we are use any control menu like print option ,zoom option ,nextpage option etc. so that problem is control post back and blank my my reports


you have to rebind the report on every postback.

in form_load put

if (Page.IsPostBack)
{
if (Session["currentReport"] != null)
{
CrystalReportViewer1.ReportSource = Session["currentReport"];
CrystalReportViewer1.DataBind();
}
}

and when creating your report add this line
Session["currentReport"] = myReport;

Apr 16, 2009 | Computers & Internet

1 Answer

Retrieving and displaying logged in users info


you had not provided complete detail that if you are having database for username or you want to fetch username from 'email providing site' in which your user created his account.if you are trying for second option,It is almost not possible coz any of the email providing site will not exchange personal detail of any of his acc holder.
if you are trying first option,session in php can help you.you can store username in a session variable n then u can access them on any page if session is not destroyed or expired.

Mar 22, 2009 | The PHP Group PHP

1 Answer

Php assigning value to variables and posting result, how can i assign a value to variable that will add the score evertytime the answer in my trivia page is correct, how can i make a formula for total...


You can use a session variable.
First use session_start().
Then you can crate a session variable by simply setting the appropriate member of the $_SESSION or $HTTP_SESSION_VARS (PHP < 4.1.0) array
Example.

session_start();

$_SESSION["number"] = 10 ;

echo $_SESSION["number"];

You can call it whenerver you want.
remmember to start session on all the pages where you use the variable.

Mar 17, 2009 | The PHP Group PHP

1 Answer

Logout problem


Hey,
what code are you using to destroy the session?

should look something like this
e.g. getting rid of email session
<?php
unset($_SESSION['email']);
?>

Jan 16, 2009 | The PHP Group PHP

1 Answer

Clarification


are you saying you're switching from a session variable to a cookie?

delete the cookie altogether by setting the expiration to a time in the past (negative value). don't forget that you'll then have to reload a page in order to reread the cookie data.

so if you have a cookie with a logged_in value = true, and you set it to logged_in value = false, you're still logged_in = true, until you reload that page (or another page) and it rereads the cookie data and now determines that logged_in = false.

make sense? write the logged_in=false to the cookie, then force a url redirection to reload the page is my suggestion.

Jan 13, 2009 | The PHP Group PHP

2 Answers

Logout script with session management in php5


just create a logout.php script with the following

<?php
session_start();
session_destroy();

header("Location: index.php");
?>

Have your logout button/link/whatever just open that page which connects to the session with session_start. Session destroy does exactly what it sounds like... it unsets all session data and tells the server to end the session. The header request then just re-directs the user to whatever page you want after (just change out index.php)

Dec 30, 2008 | The PHP Group PHP

1 Answer

Php cookie problems


can u give me the error that is shown when you try to use cookies ? or it just doesn't work ?

Sep 08, 2008 | The PHP Group PHP

2 Answers

PHP problem


could you give me more info plz

Jul 30, 2008 | The PHP Group PHP

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

74 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Mike

Level 3 Expert

4332 Answers

Mishan Kasiparsad

Level 2 Expert

142 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...