Welcome! Log In Create A New Profile

Advanced

Storing URI in a cookie

September 02, 2011 04:44PM
I dont know why I am struggling with this so much but I need a bit of help.
I am trying to redirect users to a verification page and then back to their
original requested URI but because of the rewrite I lose both the $uri and
$request_uri variables. I figure the easiest way to solve this problem is
to store the original URI in a cookie and read it from that after the
verification page. I cant seem to store the cookie correctly and read it
back. Can anyone provide some direction? Also, is there any risk that by
doing this I disrupt other cookies being stored by my application?

Thanks!

Rami
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Storing URI in a cookie

ressaid September 02, 2011 04:44PM

Re: Storing URI in a cookie

magicbear September 03, 2011 04:49AM

Re: Storing URI in a cookie

Calin Don September 03, 2011 05:06AM

Re: Storing URI in a cookie

ressaid September 03, 2011 10:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 207
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready