Welcome Guest, Not a member yet? Register   Sign In
Question regarding the uri + more
#3

[eluser]Dennis_gull[/eluser]
Thank you for the answers, I have some follow ups:

Quote:Question 1 ...
There are several things you can search in the user guide - ROUTES, REMAP, REDIRECT - but you are probably approaching the problem the wrong way. As in, you are unlikely to have a controller called search - your controller would be named after a resource that your site lets you manage, and one of the functions in there would be search.

I'm not sure what you mean by resources (just started using MVC)?
From what I understand I use a controller for each page, for example:
register
register/submit
register/error
register/<another subpage (function)>

Quote:Question 2...
We don't like GETs, and much prefer POSTs.

You can enable the query string style of URI's if you want - search the user guide for QUERY STRING.

But I rather have human friendly URI strings instead of a normal query string, the GET form gives me a normal query string instead of the human friendly string.
I understand that you guys don't like GETs, but sometimes they are necessary Smile

Quote:Question 3...
Unencrypted sessions shouldn't contain sensitive data. If you have a a situation where you want better security, you'd encrypt the session. There are several threads in the forums on different approaches to doing what you want to do here, as the question pops up regularly. And yes, it does appear to be a feature we could do with in the core.

What I want to store in the session is the user id and username, but some users don't want to auto login when they visit the site. I found a library in the wiki called Native session, should I use this instead?


Messages In This Thread
Question regarding the uri + more - by El Forum - 06-30-2009, 10:10 AM
Question regarding the uri + more - by El Forum - 06-30-2009, 10:36 AM
Question regarding the uri + more - by El Forum - 06-30-2009, 12:09 PM
Question regarding the uri + more - by El Forum - 06-30-2009, 12:33 PM
Question regarding the uri + more - by El Forum - 06-30-2009, 02:20 PM
Question regarding the uri + more - by El Forum - 07-02-2009, 04:38 AM
Question regarding the uri + more - by El Forum - 07-02-2009, 07:47 AM
Question regarding the uri + more - by El Forum - 07-02-2009, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB