SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

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

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
edwinost



Joined: 23 Apr 2008
Posts: 5

PostPosted: Apr 23, 2008 11:22 am    Post subject: How to redirect after upload and keep session alive (php) Reply with quote

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
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Apr 23, 2008 12:59 pm    Post subject: Reply with quote

PHPSESSID is not in URL? How is it tracking? In cookie?
Back to top
View user's profile Send private message Visit poster's website AIM Address
edwinost



Joined: 23 Apr 2008
Posts: 5

PostPosted: Apr 23, 2008 1:08 pm    Post subject: Reply with quote

Yes this is the way I start the session:

Code:
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
Back to top
View user's profile Send private message
edwinost



Joined: 23 Apr 2008
Posts: 5

PostPosted: Apr 23, 2008 1:33 pm    Post subject: Reply with quote

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/upload.cgi?mode=settings

Thanx for the help![/url]
Back to top
View user's profile Send private message
edwinost



Joined: 23 Apr 2008
Posts: 5

PostPosted: Apr 24, 2008 11:49 am    Post subject: Reply with quote

No one able to help?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group