I do a lot of asp development and for session tracking I usually write a session ID into all the querystrings. I know it's primitive but there seems to be a lot of press about asp sessions affecting scalability (even microsoft says so) and I don't like using cookies because I had this client once and...
The session object is actually much easier to use and I use it for sites where there's going to be low hit volume.
However, lately I've been rewriting some old asp and cold-fusion sites as java servlets. Transfering the programming logic and functionality to java hasn't been a problem. However, it seems like every page would have to be a servlet in order to get the session value to the next page. Is jsp the only way?
In an asp site, it's not a problem to make every page an asp page even if it's just for the purpose of writing one variable into one link to maintain a session. It's just a text file. However, it seems like a hassle to do this with servlets. I say this because although I don't mind recompiling stuff, I work with designers who are used to being able to go into asp pages I've written and just change the HTML around for their design changes. They wouldn't appreciate being asked to make changes to java files and recompile them every time they want to add a line break somewhere.
I'd appreciate anyone's comments on how they deal with sessions in a servlet based site.
The session object is actually much easier to use and I use it for sites where there's going to be low hit volume.
However, lately I've been rewriting some old asp and cold-fusion sites as java servlets. Transfering the programming logic and functionality to java hasn't been a problem. However, it seems like every page would have to be a servlet in order to get the session value to the next page. Is jsp the only way?
In an asp site, it's not a problem to make every page an asp page even if it's just for the purpose of writing one variable into one link to maintain a session. It's just a text file. However, it seems like a hassle to do this with servlets. I say this because although I don't mind recompiling stuff, I work with designers who are used to being able to go into asp pages I've written and just change the HTML around for their design changes. They wouldn't appreciate being asked to make changes to java files and recompile them every time they want to add a line break somewhere.
I'd appreciate anyone's comments on how they deal with sessions in a servlet based site.