this piece of an .lc file works ok on real server but not local on XAMPP
Code: Select all
<?lc
set the sessionSavePath to the defaultfolder
set the sessionLifetime to 1800
set the sessionCookieName to "LCTESTCOOKIE"
set the sessionID to "SessionTestIdentifier"
start session
--empty when return to page
if $_SESSION["place"] is not empty then
put empty into $_SESSION["place"]
end if
if $_SESSION["name"] is not empty then
put empty into $_SESSION["name"]
end if
stop session
?>
file "D:/server/xampp/htdocs/testlc/lc_place.lc"
row 8, col 1:
and as i read in a few messages on the list and on the forum here, it is probably that a folder is not existing or it has no rights to write there.
I also tried this: set the sessionSavePath to "/sessiontemp" , an extra created folder with the correct rights but no go.
Also tried the complete path like: D:/server/xampp/htdocs/testlc/sessiontemp
Anyone know how to fix this in XAMPP so i can develop LOCAL instead of on live server?
Thanks a lot!