I'm wondering how a newly loaded application can get the session variable of a previously started one, if the starting page is pure HTML, no PHP, and hence, cannot pass any session info to the newly opened page, if no cookies are used.
armin > --- Urspr?ngliche Nachricht --- > Von: Luca Innocenti <l.innocenti at arpat.toscana.it> > An: Armin Burger <armin.burger at gmx.net> > Kopie: pmapper-users at faunalia.it > Betreff: Re: [Pmapper-users] clearing sessions variables on pmapper 1 > Datum: Tue, 21 Mar 2006 09:58:51 +0100 > > i have checked with session.use_cookies = 0 but it works the same way. > > it' s interesting the way of Walter Lorenzetti (i would like to taking > the actual > apache global configuration) but i can't understand where i must modify.. > i have a lot session_start all around the files and session_start is > defined > > bool session_start(void) > > so i can't see where put the session name > > thanks a lot to all > > Luca > > Armin Burger ha scritto: > > that's likely because you have cookies for sessions turned on. either > > disable it globally in php.ini > > => session.use_cookies = 0 > > one can never be sure if users have cookies enabled, so I never saw > reasons > > to use it. Or if you use apache, put the following in your <directory> > part > > where the pmapper application is situated > > > > <IfModule mod_php5.c> > > php_flag session.use_cookies 0 > > </IfModule> > > > > I guess this is only working with PHP as apache module. > > > > armin > > > > > >> --- Urspr?ngliche Nachricht --- > >> Von: Luca Innocenti <l.innocenti at arpat.toscana.it> > >> An: pmapper-users at faunalia.it > >> Betreff: [Pmapper-users] clearing sessions variables on pmapper 1 > >> Datum: Tue, 21 Mar 2006 08:29:13 +0100 > >> > >> Hi List, > >> first....sorry for my poor english. > >> > >> I have this problem. > >> > >> On my test server i have 3 installations of pmapper 1 (i need this > >> because every pmapper have a diffferent > >> layout, colors, icons, logos). The 3 installations are sharing the same > >> data directory > >> (topographic base is common to all, some other shapefile is used only > in > >> one installation) > >> > >> i launch all the 3 from a .html page where i can find the links. > >> the problem is ....... > >> > >> when i stop to work on one pmapper and i want to switch to another > >> (without closing the browser) > >> the TOC is like is designed in config.ini but the map is different > >> I explain > >> in config.ini the topography is always off at startup. If i put the > >> topography "on" then i close one pmapper > >> and a open another (differente) pmapper the TOC checkbox is deselected > >> but i can see the topography on the map > >> (i'm sure that config.ini don't call the topography) > >> > >> looking at the code i think the problem is in session variables but i > >> can't find the way to solve > >> the problem......any idea ???? > >> > >> thank you > >> > >> Luca > >> > >> _______________________________________________ > >> Pmapper-users mailing list > >> Pmapper-users at faunalia.it > >> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users > >> > >> > > > > > -- "Feel free" mit GMX FreeMail! Monat f?r Monat 10 FreeSMS inklusive! http://www.gmx.net
