G
Grant Merwitz
Hi
I currently have a web site that utilises sessions on a particular page.
When a user clicks a button on this page, a session is created for the
duration of the request, and then terminated straight afterwards.
The user could do this a handful of times per visit, and although the site
does not have heavy traffic currently, it needs to be scalable to do so in
the future.
Now which way is more efficient.
1) To create a session when the user logs on, and use that same session for
this particular request how ever many time it's called. And time the session
out after 20 minutes.
2) Or to create and terminate the session for the duration of the request as
i am currently doing
Any help would be appreciated. Also, if i'm not clear enough in this
explanation, please let me know, and i will try explain in more detail.
I currently have a web site that utilises sessions on a particular page.
When a user clicks a button on this page, a session is created for the
duration of the request, and then terminated straight afterwards.
The user could do this a handful of times per visit, and although the site
does not have heavy traffic currently, it needs to be scalable to do so in
the future.
Now which way is more efficient.
1) To create a session when the user logs on, and use that same session for
this particular request how ever many time it's called. And time the session
out after 20 minutes.
2) Or to create and terminate the session for the duration of the request as
i am currently doing
Any help would be appreciated. Also, if i'm not clear enough in this
explanation, please let me know, and i will try explain in more detail.