• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Dec 2014 11:03 AM by  Mike
(SOLVED) How can i tell if a request was redirected?
 1 Replies
Sort:
Topic is locked
Author Messages

Matt 03



New Member


Posts:
New Member


--
12 Dec 2014 07:07 PM
    Are there any properties in the request or browser capabilities that can tell me if it was redirected? Thank you.
    0

    Mike



    Basic Member


    Posts:147
    Basic Member


    --
    15 Dec 2014 11:03 AM
    Hi Matt, There is no boolean value as such, but you can set originalUrlAsQueryString to "true" in the 51Degrees.config file. "If set to true the redirected URL will have the original requesting Url encoded and included as the origUrl query string parameter in the redirected Url. This will enable the mobile home page to determine the original requested resource providing the option to display a mobile friendly version. (Optional – defaults to false)"
    0
    Topic is locked