1
coopersita
Custom sessions don't work

When you enable custom sessions, should the php session show up in the url?

Mine don't seem to work... People keep getting bumped out after only 30 mins (instead of the 150 I set), and urls don't have the phpsessid.

What could be wrong?

Does the php sessions depend on the http referer? I took it out because users with norton where having trouble. Could that affect my custom sessions?

2
coopersita
Re: Custom sessions don't work

Can anybody help me?

3
coopersita
Re: Custom sessions don't work

Really! No one know about what could affect custom sessions?

Is there an alternative for custom session to keep my users logged in longer without compromising security (auto-login hack)?

4
gojoe_gojoe
Re: Custom sessions don't work

Put this number in custom Session expiration 525600 This will enable it for 1 year.

5
coopersita
Re: Custom sessions don't work

Thanks, but it didn't work. It doesn't seem to matter how big the number I put. You are still logged out after 30 mins. of inactivity.

6
jdseymour
Re: Custom sessions don't work

Mine seems to be working. These are my settings:

Enable Custom Session--Yes

Session Name-- warpigs_session

Session Expiration --2880

Set to 48 hours. Using PHP version 4.3.9

Is this the same style your session is set?

7
coopersita
Re: Custom sessions don't work

Yes, my settings are:

Custom Sessions: YES
Session name: myclub_session
Session Expiration: 525600 (I've tried 120, 150 too)

And if I start a post, and submit it 30 mins later, by then I've been logged out, and the post is lost.

Could it have something to do with disabling http_referer?

I'm running on PHP 4.3.9

8
coopersita
Re: Custom sessions don't work

I guess I'll have to try the autologin hack and give it a low number...

I can't believe no one can really help me.

9
gojoe_gojoe
Re: Custom sessions don't work

Well being as I just started to use XOOPS I am learning myself so I ain't no expert here, but I would not think it's the HTTP_REFER because that has nothing to do with being logged out...the thread stated that The HTTP_REFERER is a privacy setting - all it does is tell the webserver, which was the LAST page, you viewed - and only for that site. It is used to determine whether people are submitting a form on YOUR site, or somewhere else on the web
So I would say no to that. Clear you cache files on the server and on your computer and double check your server and see how they are running sessions. Do a phpinfo() You might find it's the way your server is configured and not XOOPS at all. That is what I would do if I were you.

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

Login

Who's Online

214 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 214


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