11
macmend
Re: watch out your PHPSESSID
  • 2005/9/1 14:08

  • macmend

  • Quite a regular

  • Posts: 285

  • Since: 2004/2/27


thanks for that
Free Mac Support

Ordinary Wisdom

apache server with php sshexec turned on
xoops version 2.0.18.1 & 2.3.1
php version 5.2.5
mysql version 5.0.45

12
banesto
Re: watch out your PHPSESSID
  • 2005/9/1 23:27

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


what should i do if my .htaccess settings are ignored? phpsession is still there and i cannot logon.
where's my red bull!

13
m0nty
Re: watch out your PHPSESSID
  • 2005/9/2 1:30

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


u should still be able to login if phpsessionid is still in the url..

phpsessionid will show in url if ur cookies are blocked. which could be why u can't login.

14
banesto
Re: watch out your PHPSESSID
  • 2005/9/2 8:10

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


i log in, but if i go to the administration, the phpsession string disappears and i have to log on again, so i can't do anything.
where's my red bull!

15
m0nty
Re: watch out your PHPSESSID
  • 2005/9/2 10:03

  • m0nty

  • XOOPS is my life!

  • Posts: 3337

  • Since: 2003/10/24


sounds like a cookie issue.

if trans_sid is off, then you shouldn't see sessionid in the url unless there's a problem with cookies not being received or read by your computer.

can u post a link to your site?

16
banesto
Re: watch out your PHPSESSID
  • 2005/9/2 11:59

  • banesto

  • Just popping in

  • Posts: 61

  • Since: 2005/1/24


strange things goin' on - i changed the mainfile.php and it works ok - really strange
where's my red bull!

17
Peekay
Re: watch out your PHPSESSID
  • 2006/3/15 13:29

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Don't know if this is relevant, but I recently moved a site to Win XP/IIS for development. I had entered 'localhost' as the XOOPS URL in mainfile.php:

define('XOOPS_URL''http://localhost/mysite');


I found that although the site worked I could not stay logged in. Also, the session ID appeared in the address bar following the URL.

When I changed the XOOPS URL to an actual IP address:

define('XOOPS_URL''http://192.168.x.xxx/mysite');


everything worked.
A thread is for life. Not just for Christmas.

18
alitan
Re: watch out your PHPSESSID
  • 2006/3/15 19:09

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


To things I have to mention:
the code in the .htaccess file:
php_flag session.use_only_cookies on

dow not work alone, so I added another code to it as well, and it works fine:
php_flag session.use_only_cookies on
php_flag session
.use_trans_sid off


<Edit>
Nevermind about my post, I did not see macmend's post!
</Edit>
My Persian Xoops Project:
http://www.MPXP.org

19
jensclas
Re: watch out your PHPSESSID

Warning...newbie on the loose!
Hi guys...I can't get the gist of what you are all talking about but I take it that watching my phpsessid is REALLY important...but i got lost somewhere on post number 2! Is there any chance someone can explain to those who use 'xoops out of the box' (and therefore have to take lots of time to get to know the rest)what the phpsessid is, why it is important, what changes we need to make and where if necessary and if you are refering to XOOPS 2.0 or 2.2 versions??? Otherwise you have totally lost us!

20
justjeff
Re: watch out your PHPSESSID
  • 2006/3/15 23:02

  • justjeff

  • Just popping in

  • Posts: 81

  • Since: 2006/1/16


Quote:

jensclas wrote:
Otherwise you have totally lost us!



What jensclas said
Jeff

Login

Who's Online

212 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 212


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits