corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Logout link programming discussion (was NEWS: Vista 4Gb)


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Logout link programming discussion (was NEWS: Vista 4Gb)
Dom
Member

Registered: 13th Sep 03
User status: Offline
23rd Feb 07 at 14:21   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by topshot_2k
wheres a good place to get it from?


at a guess, there website

[Edited on 23-02-2007 by Dom]

[Edited on 23-02-2007 by Ian]
topshot_2k
Banned

Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
23rd Feb 07 at 14:30   View User's Profile U2U Member Reply With Quote

i cant access it at work, i have tried.
topshot_2k
Banned

Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
23rd Feb 07 at 14:36   View User's Profile U2U Member Reply With Quote

i dont want to log out.
topshot_2k
Banned

Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
23rd Feb 07 at 14:37   View User's Profile U2U Member Reply With Quote

dom where is that ,link gone?
Dom
Member

Registered: 13th Sep 03
User status: Offline
23rd Feb 07 at 14:41   View User's Profile U2U Member Reply With Quote

eh? what you talking about lad?

p.s - deleted it because there is a bug in the forum i think
topshot_2k
Banned

Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
23rd Feb 07 at 14:56   View User's Profile U2U Member Reply With Quote

Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:02   View Garage View User's Profile U2U Member Reply With Quote

I added the logout link to the swear filter, if that helps?
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:03   View Garage View User's Profile U2U Member Reply With Quote



also adding random session ids would stop it happening too
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:05   View Garage View User's Profile U2U Member Reply With Quote

Personally I would probably salt the username, hash it and put that on the link, then test for it on the click.

Alternatively people could get out more and stop giving me bullshit jobs to do when I've far more important things to bother my arse over.
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:06   View Garage View User's Profile U2U Member Reply With Quote

btw action=logout link still works for me
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:06   View Garage View User's Profile U2U Member Reply With Quote

test

[Edited on 23-02-2007 by Steve]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:07   View Garage View User's Profile U2U Member Reply With Quote

Or...

Remove the user check from the logout script, but just use the hash string to perform the log out.

Would take a big longer to check as it would need to check everyone online, but it would log out whoever made the link, not the person who clicked on it.....
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:08   View Garage View User's Profile U2U Member Reply With Quote

pmsl would be funny
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:12   View Garage View User's Profile U2U Member Reply With Quote

OK what is URL for you now?
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:13   View Garage View User's Profile U2U Member Reply With Quote

test


http://www.corsasport.co.uk/board/misc.php?action=logout
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:14   View Garage View User's Profile U2U Member Reply With Quote

just what you see there, still is how it was
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:14   View Garage View User's Profile U2U Member Reply With Quote

Should have check= on the query string?
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:16   View Garage View User's Profile U2U Member Reply With Quote

nah
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:17   View Garage View User's Profile U2U Member Reply With Quote

Ian [Logout - My Profile - CP]

http://www.corsasport.co.uk/board/misc.php?action=logout&check=cd31

??
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:18   View Garage View User's Profile U2U Member Reply With Quote

http://www.corsasport.co.uk/board/misc.php?action=logout
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:18   View Garage View User's Profile U2U Member Reply With Quote

if i post

http://www.corsasport.co.uk/board/misc.php?action=logout

that link thats what i get, should i get that check after then if i simply post that link?

[Edited on 23-02-2007 by Steve]
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:22   View Garage View User's Profile U2U Member Reply With Quote

Click that link now, shouldn't work but the one on the bar with the check should.

check is 4 hex chars.

Don't post it
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:24   View Garage View User's Profile U2U Member Reply With Quote

yeah that worked now, said logout failed, i take it everyone has a unique hex value then?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
23rd Feb 07 at 20:24   View Garage View User's Profile U2U Member Reply With Quote

Yep
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
23rd Feb 07 at 20:25   View Garage View User's Profile U2U Member Reply With Quote

cool
whats yours

[Edited on 23-02-2007 by Steve]

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
xp pro x64 Greg_M Geek Day 12 1772
21st Jan 06 at 11:53
by PaulW
 
im backk!! Dione J General Chat 33 637
25th Jan 06 at 17:51
by d_jay50
 
Windows Vista 64 Mistamist Geek Day 7 1266
9th Jul 06 at 00:11
by Reedy
 
NEWS: Windows Vista + 4GB ram = Nirvana willay Geek Day 43 2191
23rd Feb 07 at 20:13
by Ian
 

Corsa Sport » Message Board » Off Day » Geek Day » Logout link programming discussion (was NEWS: Vista 4Gb) 29 database queries in 0.0167160 seconds