hii...
i have to redirect user based on ip address ,for that i get ip address of user and i give the redirection path but it was not returning that url page.
it return to current page but i want to redirect on my /ar-sa/career url so please give me the suggestion to do so.
Visitor Redirection based on ip address
hii... i have to redirect user based on ip address ,for that i get ip address of user and i give the redirection path but it was not returning that url page.
it return to current page but i want to redirect on my /ar-sa/career url so please give me the suggestion to do so.
Thank you..!
Hi Megha
Would returning a RedirectResult instead be what you need?
https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.redirectresult?view=aspnetcore-6.0
eg
regards
Marc
is working on a reply...