vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Set cookies externally (https://vborg.vbsupport.ru/showthread.php?t=56428)

cancerkats 08-22-2003 05:02 AM

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

Issvar 08-24-2003 03:23 PM

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
  • Page Generation 0.01001 seconds
  • Memory Usage 1,710KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete