You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 135 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Invalid Session: Do not allow session check for some users [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
eleos111
Nuke Soldier
Nuke Soldier


Joined: Feb 03, 2003
Posts: 28

Location: Greece

PostPosted: Sat Jun 14, 2003 5:19 am Reply with quoteBack to top

Hi.
Some of my users had permanent problems with Invalid Session so I decided to deal with it, since nothing worked out. I have made some modifications in posting.php (in modules/Forums folder) , added a field in the database under users table and also I have added an administration module were you can choose a user to NOT be checked for invalid session. If user is logged as administrator also invalid session WILL be checked whatever has been choosed for the specific user.
I know that this one creates a security hole for the specific user but until something better comes out I will use this one.
If you want to download it you can do it here:
http://www.kraksimo.com/modules.php?name=Downloads&d_op=getit&lid=2
Read readme.txt before applying this...
Find all posts by eleos111View user's profileSend private message
Cyberclark
Elite Nuker
Elite Nuker


Joined: Nov 20, 2002
Posts: 237


PostPosted: Sat Jun 14, 2003 9:39 am Reply with quoteBack to top

Very nice addition!! Beats disabling sessions for the whole site!
Find all posts by CyberclarkView user's profileSend private message
TrevorS
Corporal
Corporal


Joined: Jun 02, 2003
Posts: 68

Location: Denver, Colorado

PostPosted: Thu Jun 26, 2003 11:59 am Reply with quoteBack to top

Thank You! This helped me out a lot!
Find all posts by TrevorSView user's profileSend private messageVisit poster's website
shb
Nuke Soldier
Nuke Soldier


Joined: May 25, 2003
Posts: 27


PostPosted: Tue Jul 08, 2003 5:24 pm Reply with quoteBack to top

yes thank you. big thumbs up.
Find all posts by shbView user's profileSend private messageVisit poster's website
Bridude
Private
Private


Joined: Aug 08, 2003
Posts: 45


PostPosted: Tue Aug 19, 2003 8:37 pm Reply with quoteBack to top

this script was a gift from heaven. Thanks a ton!!
Find all posts by BridudeView user's profileSend private message
geoffh
Nuke Cadet
Nuke Cadet


Joined: Sep 22, 2003
Posts: 3


PostPosted: Tue Sep 30, 2003 4:46 pm Reply with quoteBack to top

Does anyone else have this script available for downloading? The site from the original poster appears to be offline...
Find all posts by geoffhView user's profileSend private message
karzac
Nuke Cadet
Nuke Cadet


Joined: Oct 17, 2003
Posts: 2


PostPosted: Fri Oct 17, 2003 3:59 pm Reply with quoteBack to top

yep i could do with it too
Find all posts by karzacView user's profileSend private message
Tank863
Lieutenant
Lieutenant


Joined: Feb 21, 2003
Posts: 195

Location: Philadelphia

PostPosted: Wed Oct 22, 2003 6:11 am Reply with quoteBack to top

anyone have this script? or know of its where abouts?

I have one AOL user so far and they are the only one having problems.
Find all posts by Tank863View user's profileSend private messageVisit poster's websiteICQ Number
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Tue Feb 10, 2004 7:28 am Reply with quoteBack to top

Trying to locate a copy....

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
eleos111
Nuke Soldier
Nuke Soldier


Joined: Feb 03, 2003
Posts: 28

Location: Greece

PostPosted: Fri Feb 13, 2004 1:40 am Reply with quoteBack to top

You can download it from
http://www.btriad.gr/downloads/phpnuke/SessionCheckOnOff.zip
as well the other patch I have made that allows only registered users to vote:
http://www.btriad.gr/downloads/phpnuke/Survey_patched.zip

Kraksimo.com is not working anymore...
Find all posts by eleos111View user's profileSend private message
Myfish
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 6


PostPosted: Thu Feb 19, 2004 12:56 am Reply with quoteBack to top

eleos111 wrote:
You can download it from
http://www.btriad.gr/downloads/phpnuke/SessionCheckOnOff.zip
as well the other patch I have made that allows only registered users to vote:
http://www.btriad.gr/downloads/phpnuke/Survey_patched.zip

Kraksimo.com is not working anymore...



bro your session check on off work wonder for my site.. It solved my invalid session instantly

Thankyou Laughing

I hv a question for u Can I just set the forum default so that it does not check the ip of every user. This becos most of my user surf on static IP network .. making me hv to do the session off for every new user

So since that the problem I just as well off the forum tracking permanently

Any advice

Hope to here from u soon
Find all posts by MyfishView user's profileSend private message
eleos111
Nuke Soldier
Nuke Soldier


Joined: Feb 03, 2003
Posts: 28

Location: Greece

PostPosted: Fri Feb 20, 2004 1:05 pm Reply with quoteBack to top

If you want just to disable session check in all cases you can disable the line:
Code:
message_die(GENERAL_MESSAGE, 'Invalid_session');

Is number 213 in the file posting.php that is included in the zip file.

But you could let on session check for phpnuke admin users if you goto line 212 and replace the

Code:
if(($check_on_off==0) OR (is_admin($admin))) {

with
Code:
if (is_admin($admin)) {


Hope that helps.

PS: Note that I have added that only in post at forum.
Find all posts by eleos111View user's profileSend private message
Myfish
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 6


PostPosted: Mon Feb 23, 2004 8:35 pm Reply with quoteBack to top

eleos111 wrote:
If you want just to disable session check in all cases you can disable the line:
Code:
message_die(GENERAL_MESSAGE, 'Invalid_session');

Is number 213 in the file posting.php that is included in the zip file.

But you could let on session check for phpnuke admin users if you goto line 212 and replace the

Code:
if(($check_on_off==0) OR (is_admin($admin))) {

with
Code:
if (is_admin($admin)) {


Hope that helps.

PS: Note that I have added that only in post at forum.


bro

tks for the code ..

Just to be sure what i supose to be doing is . when u say disable the code u mean delete the whole line of code right ..

the second code well is a copy and paste thing right .. Embarassed

tks again
Find all posts by MyfishView user's profileSend private message
Myfish
Nuke Cadet
Nuke Cadet


Joined: Feb 19, 2004
Posts: 6


PostPosted: Mon Feb 23, 2004 11:19 pm Reply with quoteBack to top

Bro

i did this to the code

Code:
 /*message_die(GENERAL_MESSAGE, 'Invalid_session');}*/


and i got an error message

Parse error: parse error in /home/myfish/public_html/modules/Forums/posting.php on line 1232

any advice ?
Find all posts by MyfishView user's profileSend private message
saladin
Nuke Cadet
Nuke Cadet


Joined: Dec 28, 2003
Posts: 8


PostPosted: Wed Mar 10, 2004 10:39 pm Reply with quoteBack to top

ok i am admin and getting the invalid session any ideas? please let me know... BTW that error you are getting is bc of space at the last code:)
Find all posts by saladinView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.595 Seconds - 86 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::