If cookies are disabled I don't think Session variables will work. The alternative is "carry" these variables via Querystrings from Page to Page. This is I would not recommend.
I only use Session variables for back navigation and if visitors have Session Variables disabled the back navigation does not work, instend visitors go to the first page rather than the Page they exited. This does not affect the overall performance of the website.
Thnkx 4 ur response. But what i am looking for is, not the same that ur trying to respond. My question is how do a session is maintained for any user when the cokkies is been disabled from the client machine? as we all know that a session id is been created at the server end and is send across to the client in form of cookies along with the http header. now when the cookies itself is been disabled at the client end, then how do the server knows that the new request that has coem to the server from the client is from the existing user / client or it is from a new user / client.
All the cookie is don't is remembering information. Its like storing Telephone Numbers in your phone. You can still dial the number or lookup it up on your caller list. So without cookies when you revisit there is no information locally so you are treated as a fresh visitor.
1. A request was send to the web server for some page, say "a.asp"
2. Client recieves the page "a.asp" and also the cookie file along with the http header to uniquely identify the client.
3. Now some sesion variables are created and stored some values in it. Say Session("User") = 'Rahul' and Session("Password") = 'Pass'.
4. And now I have disabled the cookie at the client's machine, and sends the request to the server for some page say "b.asp"
5. Now as the cookie is disabled at the cliemt machine.......... I have following question from the above scenarios..........
---- Will the server recognise the request as the fresh one or will it consider the 2nd request from the client?
---- Will I be able to access the Session variables session("User") / Session("Password") in the page "b.asp"?