Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

How To Continue Last Action After Login?

$
0
0
Hi,

I have a page that contains a form.
I want to allow all users to view this form, but on submission of the form, if the user is not logged in - I want to redirect him to the login page. After the user logs in, I want to continue the original form submission.

For example in this page :http://www.yiiframew...dfasdf#comments When the user clicks on "submit" he will be redirected to the login page and after login his comment will be submitted has a logged in user.

How should I do that?

Thanks!

Viewing all articles
Browse latest Browse all 18717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>