![]() |
Set cookies externally
Hello all,
Thanks for reading this. I am trying to do the following: Send a link to a user via email and once they click on the link they would be take that page(which is on my server) and their ip address and name will be logged in. once done, it would be redirecting them to my forum. now, what i want to do here is set cookies on thier pc when they click the link sent to them in the email so that they would not have to go through the login page when they are being redirected to the forum and instead go into the forum directly. ofcourse i can click on set cookies on their user CP.....but i would liek to cover teh part when they are using someone othr PC to check their email or if they have cleared teh cookies..... pls tell me how i can set the cookies on their PCs many thanks... regards, karthik |
Just make a php page on your server that sets cookies based on user supplied data, like in the email give the link http://www.server.com/cookie.php?id=...jmas83mma93ka2 which would be the userid on the forum and the password hash.
Then in your php page set bbuserid and bbpassword cookies to the supplied values and redirect to the forum. |
All times are GMT. The time now is 08:49 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:
|