Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: miva storefront login redirect
08-29-2002, 08:21 PM #1
- Join Date
- Jun 2002
- the windy city
- Thanked 0 Times in 0 Posts
miva storefront login redirect
firepages (and all others of course, but there do not seem to eb too many peopel who kow what that is), i have another question and HOPE you might know.
our miva store has a front page which is a login page. once the user logs in, they get redirected to the storefront page. i am trying very hard to figure out how to redirect the users to a different url instead, but am not being successful.
do you have any idea how this could be done?
08-30-2002, 03:05 AM #2
- Join Date
- May 2002
- Perth Australia
- Thanked 98 Times in 96 Posts
Hi, well I was sort of guessing on the last post and got lucky
but as I said there it appears that MIVA can not set HTTP headers itself and I assume therefore relies on <META refresh ... so its probably just a case of looking though the login script for where the redirect occurs and changing the refresh tag there...
do you have access to the login code ? if you do it should be possible to either find the redirection tag OR set a POST variable that gets sent to the storefront page and alter that page to redirect if the POST var we just set exists...
but again I am guessing - so if you have the code please post it .
MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)