| View previous topic :: View next topic |
| Author |
Message |
edwinost
Joined: 23 Apr 2008 Posts: 5
|
Posted: Apr 23, 2008 11:22 am Post subject: 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 |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Apr 23, 2008 12:59 pm Post subject: |
|
|
| PHPSESSID is not in URL? How is it tracking? In cookie? |
|
| Back to top |
|
 |
edwinost
Joined: 23 Apr 2008 Posts: 5
|
Posted: Apr 23, 2008 1:08 pm Post subject: |
|
|
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 |
|
 |
edwinost
Joined: 23 Apr 2008 Posts: 5
|
|
| Back to top |
|
 |
edwinost
Joined: 23 Apr 2008 Posts: 5
|
Posted: Apr 24, 2008 11:49 am Post subject: |
|
|
| No one able to help? |
|
| Back to top |
|
 |
|
|
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
|