vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Intercepting vB login (https://vborg.vbsupport.ru/showthread.php?t=102742)

t0ny 12-12-2005 12:28 PM

So if I match the bbsessionhash cookie with an entry in the db session table then it looks like the user is logged on?

merk 12-12-2005 08:41 PM

You will still need to check the other bbcookies for password to make sure they didnt fake a sessionhash.

t0ny 12-13-2005 07:38 AM

How is the sessionhash generated, using their password / salt and some md5 ??

Do i need to check the last activity or anything? How do i know when this cookie session has expired?

Thanks for you help, most people seem to ignore questions like this for the easier configuring ones!

merk 12-13-2005 11:06 AM

your topic isnt easy in the slightest, most people wont bother because it is so complex people shouldnt even be bothering.

it would be easier to learn php and re-write your site than change asp code to handle it (and make it work properly)

as for your questions, im really not sure. (look around line 2647 of includes/class_core.php inside the vb_Session class - it should give you enough of a hint as to how its generated)

t0ny 12-13-2005 07:19 PM

Unfortunately the application is too big to contemplate recoding, at least at this time.

I have seen these questions asked a lot over this forum though; so would be nice to see some sort of example of the best way to try to acheive it.

I have replaced two ASP parts of the system with PHP ones, the only conundrum left for me is the part where people leave comments which works two ways dependant on the login, which is all ASP..

Thanks for your help though, really appriciate it.


All times are GMT. The time now is 11:33 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01308 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete