hi....this is thee first time that i'm posting my problem here.
my problem is that i want to use sessions in asp.net using vb.net.... the scenario is that i want a user to sign in while viewing specific pages. these pages are user specific and they require the user to first sign in or logon at the site.
e.g if a user has posted a product fore online bidding, and now he wants to edit his posted offer, then the pages that show his post must require his sign in before he can do any editing. same if the session expires then the user must be redirected to the sign in page.
i worked on it a lot......and the problem that i encountered was that a session is started when user views a page and it ends or it is restarted when i redirect the user to another page. even the session id is changed for evry other page...and if i refresh the page session id also changes.
i made the logic that i declared session("id")="start" in global.asax file. and then in the sign in page i changed this value to be session("id")=request.form("User_Id").
now according to my logic, it should remain the same until the sessions ends. so that with every new page, the page should check this session("id") variable, if it is empty then the user must b redirected to the sign in page but if it contains the user id that he entered in the User_Id text box then the page should display the information specific to that user.
but it doesnt work....if any body knows the solution to this problem then please reply me or mail me....i'm waiting....