Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 09:20

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: 16. Mar 2009, 15:59 
Offline

Joined: 4. Mar 2009, 14:44
Posts: 14
I have made some tests. It should habe something to do with my auth-check in a "foreign" session. The authcode at beginning of index.php is like that:

Code:
$session_params = session_get_cookie_params();
session_name( "MySession");
session_start();

$session = $_SESSION[COOKIE];

session_write_close();

// Reset Session_Cookie_Params
session_set_cookie_params( $session_params['lifetime'] , $session_params['path'], $session_params['domain'] );

// Reset Session_id
session_id( md5(uniqid(microtime()) );


Using this code with other apps works fine.

Nethertheless the toptags should be refreshed at once when adding a new tag.


Top
 Profile  
 
 Post subject:
PostPosted: 16. Mar 2009, 16:07 
Offline

Joined: 4. Mar 2009, 14:44
Posts: 14
Got it. You are using the standard php-session. So there is the collision with the sessionname PHPSESSID. Why not use an own sessionname to avoid collisions? E.g.: TINYWEBGALLERY

Greetz


Top
 Profile  
 
 Post subject:
PostPosted: 16. Mar 2009, 16:34 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
using a own session is not that good because then integrating TWG into other systems are not that easy anymore.

I will change the code that after saving a tag the topx are refreshed in the session as well. I'll add this to 1.7.7.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Mar 2009, 16:38 
Offline

Joined: 4. Mar 2009, 14:44
Posts: 14
Ok. I solved that problem by restoring the phpsessid. Now works fine :-)

A lot of thanks for your great support!

Greetz Freight


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


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 post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy