Welcome Guest, Not a member yet? Register   Sign In
url based sessions
#5

[eluser]Unknown[/eluser]
[quote author="Xandrios" date="1184817423"]The only 'catch' here is that all your uri's should have the same layout: /controller/action/id/session. Otherwise things might get nasty. (Although you *could* write something that assumes that the last uri element is the sessionid. But i'd implement some serious rules so that you cant mistake a product id for a session, for instance Tongue[/quote]

Hi, this is the approach I am going to apply. To be sure that last (or first) element is a valid session number one can check it using regexp eg 32-length alphanumeric.


Messages In This Thread
url based sessions - by El Forum - 07-02-2007, 01:44 PM
url based sessions - by El Forum - 07-03-2007, 03:15 AM
url based sessions - by El Forum - 07-18-2007, 01:08 PM
url based sessions - by El Forum - 07-18-2007, 04:57 PM
url based sessions - by El Forum - 07-19-2007, 12:54 AM
url based sessions - by El Forum - 07-19-2007, 01:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB