Sk43 Posted January 24, 2014 Share Posted January 24, 2014 Newbie here so please be kind! Is there anyway of directing a client directly to their product details page i.e. to http://mydomain.com/clientarea.php?action=productdetails after logging in? If I redirct to http://mydomain/clientarea.php?action=productdetails, I get the error 'Unauthorized Access Attempt' despite successful login. Presumbaly there is an easy way around? Any help very much appreciated! SK 0 Quote Link to comment Share on other sites More sharing options...
jclarke Posted January 24, 2014 Share Posted January 24, 2014 You need to also pass the id of the service you are wanting to redirect to, for example http://mydomain/clientarea.php?action=productdetails&id=123 If you don't know the service id then you would need to instead redirect to the services list, e.g. clientarea.php?action=products 0 Quote Link to comment Share on other sites More sharing options...
Sk43 Posted January 24, 2014 Author Share Posted January 24, 2014 Thanks for such a quick reply Joe. Just tried http://mydomain.com/clientarea.php?action=productdetails&id=123 (correct id for login) but did not redirect and same error of 'Unauthorized Access Attempt'. Works nicely with http://mydomain.com/clientarea.php?action=products&id=123 though. Any other thoughts much appreciated! SK 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 25, 2014 Share Posted January 25, 2014 both your links in the previous post work for me (obviously changing domain and id number!).. it takes me to the login page and once I sign in as a client, it redirects me to either their specific product page or the list of the their products - without any errors. 0 Quote Link to comment Share on other sites More sharing options...
Sk43 Posted January 25, 2014 Author Share Posted January 25, 2014 Thank you Brain! Tried it a few times now and not sure why mine still does not work but will look into it more with perhaps other templates or replacing with orginal files. Thanks again. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.