The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open page without login
#2
You have two options:
-Make the Product A product detail page public
-Syncronize your User Tables between the two projects and build system that will authenticate the user without them actually logging in. You could:
/ Duplicate your DB class and write to the other DB with a random hash
/ Include this hash in the URL with some form of encryption that you can decrypt on the other side-but only your server knows what level of encryption you used
/ If !$user->isLoggedIn() get the hash from the URL, decode & decrypt it, check the hash against the DB to see what user you need to login as, add their ID to the Sesssion, and refresh the page with just the ID.

Good luck,
Brandin.
  Reply


Messages In This Thread
Open page without login - by brahm.pragya - 04-23-2018, 04:48 AM
Open page without login - by Brandin - 04-23-2018, 09:24 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)