Session sometime working or sometime not working well on IIS 6 Web Server.
I create one page - assign different 6 session value and redirect different pages basis on session value. but does not work well. it work well on local pc. but when i upload server it most of time not working.
May I know whether you run your own server or do you host it on a shared server? If you host it on a shared server, you can likely experience this issue. Well, the issue may not come from your code, but the existence of the other sites on the same server will
impact your session
alpatel2008
Member
4 Points
3 Posts
Session sometime not working well on IIS 6 Web Server.
Mar 22, 2012 12:29 PM|LINK
Session sometime working or sometime not working well on IIS 6 Web Server.
I create one page - assign different 6 session value and redirect different pages basis on session value. but does not work well. it work well on local pc. but when i upload server it most of time not working.
paritoshmmec
Participant
1555 Points
304 Posts
Re: Session sometime not working well on IIS 6 Web Server.
Mar 22, 2012 01:44 PM|LINK
How you are using the session value,check the logs if any exception getting raised there.
InProc or outproc?
Thanks and Regards,
Paritosh
kedarrkulkar...
All-Star
34421 Points
5534 Posts
Re: Session sometime not working well on IIS 6 Web Server.
Mar 22, 2012 01:45 PM|LINK
are you using state service mode for session? if yes, make sure u have enabled session state service on web server
http://www.ironspeed.com/Designer/9.0.1/WebHelp/Part_VI/Starting_Your_Session_State_Service.htm
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
necro_mancer
Star
8079 Points
1590 Posts
Re: Session sometime not working well on IIS 6 Web Server.
Mar 23, 2012 03:56 AM|LINK
hi alpatel,
May I know whether you run your own server or do you host it on a shared server? If you host it on a shared server, you can likely experience this issue. Well, the issue may not come from your code, but the existence of the other sites on the same server will impact your session
Professional SQL 2008 R2 Service
alpatel2008
Member
4 Points
3 Posts
Re: Session sometime not working well on IIS 6 Web Server.
Mar 23, 2012 03:51 PM|LINK
Thank for reply.
Session pages works fine on sub-domain but same pages host on main site that does not work perfect.
session variable lost after response.redirect - Response.redirect("~/login.aspx", false);
I host same pages on sub domain works perfect. but these pages host on main domain, that does not work properly maintain(more than 70% not work).
iis 6 web server & .net 2.0 framework