Welcome Guest, Not a member yet? Register   Sign In
Redirect Help
#5

Redirect.
The model works with data.
Redirecting is the responsibility of the controller.
What you want to do is violate the MVC pattern.

Cookie.
1. To set an active cookie, you need to pass expires as an argument to the set_cookie function.
If you don't pass the expires argument then the time from the past will be set (equivalent to deleting)
2. set_cookie sets a cookie in the Response class.
get_cookie gets data from the IncomingRequest class.
You will not receive cookies until your browser sends them.
Reply


Messages In This Thread
Redirect Help - by stupidscript - 02-05-2021, 02:30 PM
RE: Redirect Help - by stupidscript - 02-05-2021, 03:44 PM
RE: Redirect Help - by stupidscript - 02-05-2021, 04:22 PM
RE: Redirect Help - by InsiteFX - 02-06-2021, 02:41 AM
RE: Redirect Help - by iRedds - 02-06-2021, 04:29 AM
RE: Redirect Help - by paulbalandan - 02-06-2021, 09:13 AM
RE: Redirect Help - by stupidscript - 02-08-2021, 10:53 AM
RE: Redirect Help - by stupidscript - 02-08-2021, 12:05 PM
RE: Redirect Help - by iRedds - 02-08-2021, 01:57 PM
RE: Redirect Help - by stupidscript - 02-08-2021, 02:06 PM
RE: Redirect Help - by paulbalandan - 02-09-2021, 10:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB