![]() |
automatic user login
Hi,
I want to make user logged in automatically when they go to forums from my website account. BTW: My web application is in ASP.Net and MS SQL Server. How can I do this? Regards, Krunal |
You need to set the cookies that vBulletin does. You can find what vBulletin does to log someone in login.php (and follow the breadcrumbs).
|
Hi,
I am trying to achieve the same thing. Once the user logs into my website, I want them to be automatically logged in to vBulletin. Using the vBulletin login for my website is not an option for me as I do not want to rewrite the code. I have basically gone through login.php. I am not able to understand certain statements and cannot find any documentation regarding them: What does the following statements in login.php do? - $vbulletin->input->clean_array_gpc - $vbulletin->GPC['vb_login_username'] where is this variable set? - $vbulletin->GPC['logintype'] where is this variable set? - $vbulletin->GPC['cookieuser'] where is this variable set? - $vbulletin->GPC['cssprefs'] where is this variable set? Once I understand the answer to these questions, I think I will be able to handle my requirement. |
Once input is cleaned by clean_array_gpc() (the input being GPC - Get, Post, Cookies), it is placed inside an array called "GPC". :)
|
Apologies, but in the code for login.php, I have not seen any of these variables set.
Where are these variables set? My understanding is, I will clean GPC first, and then set all of these variables. Call verify_authentication function followed by process_new_login function and that is it. However, I need to understand where and how these GPC variables are set? |
Variables such as $_POST['var1'] get transposed into the GPC array when cleaned by the input cleaner.
|
All times are GMT. The time now is 02:35 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|