943,866 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 3948
  • PHP RSS
Oct 9th, 2008
0

Symfony MOdule redirection

Expand Post »
Hi Friends

I am working on symfony project. This is new frame work for me. So Please clarify my doubt.

This is looklike community site. user able to create own sub domine. Public site have one login page ex(www.sample.com) individual user have one login page ex (www.vssp.sample.com).

How to seprate the login for public and user level?

I tried .htacces its not working . Please advice.

This Project have single controller. how to mange t wo category (public,user) .

Advance thanks for your reply.


Thanks
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Oct 9th, 2008
0

Re: Symfony MOdule redirection

Symfony redirects are done with $action->forward('module', 'action'); OR $action->redirect('<route>'); . I'm not exactly sure what you're trying to accomplish.
Sponsor
Reputation Points: 520
Solved Threads: 268
Code Monkey
ShawnCplus is offline Offline
1,564 posts
since Apr 2005
Oct 10th, 2008
0

Re: Symfony MOdule redirection

Click to Expand / Collapse  Quote originally posted by ShawnCplus ...
Symfony redirects are done with $action->forward('module', 'action'); OR $action->redirect('<route>'); . I'm not exactly sure what you're trying to accomplish.
Thanks for your reply .

This code use only inside the module. But I want to call the module different user . When i login user this goes to new page.

Please advise.
Reputation Points: 5
Solved Threads: 5
Junior Poster
vssp is offline Offline
197 posts
since Jul 2006
Oct 10th, 2008
0

Re: Symfony MOdule redirection

In the app directory app/<app>/config/settings.yml there is a configuration for login_module and login_action. Modify the action to redirect the user to the other site.
Sponsor
Reputation Points: 520
Solved Threads: 268
Code Monkey
ShawnCplus is offline Offline
1,564 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Undestanding $_SESSION['nameofsession']
Next Thread in PHP Forum Timeline: PHP and XML Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC