on 08-27-2014 4:38 PM
Here's my problem statement: I have one text(user name) field and a submit button in custom widget. When i click on submit , i need to redirect it to storefront url where that particular user should be logged in. Here redirecting that url and username should be through http post.
My approach: 1. After clicking on submit button, i will write a controller where i will fetch the value given in the text field. 2. here redirecting to storefront url (where that user shoud be logged in) from controller is possible? here i need to pass username through http post method. How to implement this?
Please suggest how to implement this. Share your thoughts.
Soon reply please.
Regards, Ramya.
There is an easier way to achieve what you want. Look at the ImpersonationService and the way it is used, for example, in the cscockpit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.