Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi,

 

i have uploaded my site to mysite.com....after a while i decided i wanted to move my site to mysite.com/ms/.

 

the problem i noticed is that cookies are not working anymore...thing is i get logged off in around 5min...even though im active on the site.

 

this has not happened when it was in a root.

 

the hosting company has wrote me this:

I am sorry, but this problem exceeds technical support boundaries. It is obviously related to coding and we do not provide coding support, unfortunately.

 

well i have tried that and reuploaded the whole site...still doing the same. why is that, that on my local machine things are working as they should?

 

this is what i have in config file:

			<forms loginUrl="Login.aspx" defaultUrl="Login.aspx" protection="All" cookieless="UseCookies" 
            path="/rc" timeout="43200" name="Mycookie" slidingExpiration="true" />

 

Any kind of help would be great.

 

thanks,

Posted

i tried that. it didnt work.. i somehow managed to fix it, but time to time it still loggs out.

 

I have deleted the whole site and re uploaded the site.

Posted
i guess the problem is when my host moved me from shared to dedicated...once im on dedicated the cookies stoped working...the dedicated is much faster of course, so is there anything i can do in my config file to keep the cookies so u can stay logged in??
Posted

the path is correct. The cookie problem occur only when im on dedicated pool.

When im on shared it's working perfectly.

I tried to explain to my host ( host excellence ) but they always say it's the code problem.

 

Would prefer to be on dedicated as it runs much faster, but for now im stuck with shared until i could fix the cookie problem.

As im new to .net i'm not sure how to put session to config file. would this solve my problem or would it do the same thing??

  • Administrators
Posted

Seems odd that it works when in shared but not dedicated, I would honestly be shocked if it was a code problem as you aren't writing the cookie out in code the framework itself is.

 

It might be worth seeing if the host can provide you with a list of things that are different at their end when moving from shared to dedicated as it could be a configuration at their end conflicting with something at your end...

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted

could you maybe suggest me what exactly should i ask my host about the different configuration that could make the conflict on dedicated pool?

Honestly i don't really know what to ask anymore and my knowledge of this is still rather new.

 

I noticed also that when i change from shared to dedicated i can't move back to shared. some sort of a problem occur so i need to ask the host every time to move me back to shared.

Still dont know why they dont fix it as i send the error message.

Posted

this is what my host replyed:

 

Host: I have just consulted with my supervisor. And he explained that this issue could be possible because shared pool updates frequently. And that is why cookie technology could feel some trouble.

 

me: ok...so how can i solve that this will work on dedicated pool?

 

Host: That is impossible to solve due to the shared kind of our hosting service. That is shared Pool and you can not change it properties. But you can switch your plan to the VPS and you will get your own application pools.

 

me: ok...so if i move to dedicated cookies will not work ??

 

host: They will but not for a long time.

 

 

So my question is, is there a workaround to stay logged in or not??

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...