Search found 5 matches

by edwinost
Apr 24, 2008 11:49 am
Forum: XUpload
Topic: How to redirect after upload and keep session alive (php)
Replies: 4
Views: 3707

No one able to help?
by edwinost
Apr 23, 2008 1:33 pm
Forum: XUpload
Topic: How to redirect after upload and keep session alive (php)
Replies: 4
Views: 3707

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://8...
by edwinost
Apr 23, 2008 1:08 pm
Forum: XUpload
Topic: How to redirect after upload and keep session alive (php)
Replies: 4
Views: 3707

Yes this is the way I start the session:

Code: Select all

session_start();
$_SESSION['user_id'] = $row['ID'];
$_SESSION['username'] = $row['Username'];
$_SESSION['logged_in'] = TRUE;
header("Location: console.php");
Here are the php settings for the site:
http://85.92.147.31/~vinkcat/info.php
by edwinost
Apr 23, 2008 12:05 pm
Forum: XUpload
Topic: upload_form2 template, get xstatus.js jscript errors
Replies: 2
Views: 3788

This edit in upload_status.cgi helped me with the same problem!

Thanx
by edwinost
Apr 23, 2008 11:22 am
Forum: XUpload
Topic: How to redirect after upload and keep session alive (php)
Replies: 4
Views: 3707

How to redirect after upload and keep session alive (php)

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