Welcome Guest, Not a member yet? Register   Sign In
How to pass an array to a controller?
#6

[eluser]Boris Strahija[/eluser]
Why wouldn't you use sessions for this. For me this would be the most logical sollution.
A front end fo an application can also have sessions Wink

Other suggestions would be passing the array by form submission, or storing it into a database, but every user would then need some kind of a token, so that's actually a session Smile
You can also write the data into a txt file, but I don't think that's a good idea, because of security issues.

My suggestions is, use session. If possible with a database, because in this way you can store much more data into a session.
If you use a cookie the data size is limited.


Messages In This Thread
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:14 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:22 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:24 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:40 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:55 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 02:54 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:07 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:09 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:13 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:15 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:23 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:38 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 08:02 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 06:39 PM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:40 AM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB