Hello!
I'm implementing XUpload into a self scripted php CMS system that uses sessions. How can I get the session to survive the redirect after the upload? I do not use PHPSESSID in the url.
session auto start is off.
I have XUpload Pro 3.0
XUpload - How to redirect after upload and keep session alive (php)
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Yes this is the way I start the session:
Here are the php settings for the site:
http://85.92.147.31/~vinkcat/info.php
Code: Select all
session_start();
$_SESSION['user_id'] = $row['ID'];
$_SESSION['username'] = $row['Username'];
$_SESSION['logged_in'] = TRUE;
header("Location: console.php");
http://85.92.147.31/~vinkcat/info.php
Also I am having trouble with the settings, for some reason xupload.js is unable to get the settings cause I get a max_upload_files is not defined error. I tested upload.cgi with settings mode and it did return parameters.
The script is under:
http://85.92.147.31/~testuser/upload_form2.html
http://85.92.147.31/~testuser/cgi-bin/u ... e=settings
Thanx for the help![/url]
The script is under:
http://85.92.147.31/~testuser/upload_form2.html
http://85.92.147.31/~testuser/cgi-bin/u ... e=settings
Thanx for the help![/url]