Stuck on Cookies

  You are currently not logged in. You can view the forums, but cannot post messages. Log In | Register

18-Jul-11 20:37
It's my office site I'm creating. I've done it all. I checked it on my computer. When I log in, the site creates cookies for username and (loggedin=true). I go over to my personal page and it displays what it should display. Then I go over to Register Page and it says I'm logged in already, as expected. All works fine, cookies are alright.
Just when I go on to my Office and see the site on the PC's there, the problems arise. I log in, it shows me I'm logged in. Then I go over to my personal page, it shows me the Log in dialog box. Then when I go over to Register Page, it shows me I'm logged in. When I log out(since I know the log out page) the same problem occurs again.
I know it's something to do with cookies, but then also, I need help. Can someone provide me any help?
Sorry if I posted wrongly.
19-Jul-11 00:00
@ashishgaurav: It sounds like your office browser is set up to block cookies from your site/domain. Check your browser settings.

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/
19-Jul-11 09:10
@matt - I use Firefox at office. And I have enabled cookies there as well. I have even checked the working of cookies. Can it be related to cache? I've tried it as well, but to no avail.
22-Jul-11 00:14
@ashishgaurav: Possibly. Do you have a caching proxy server in the office?

Also try using a different browser and see if that makes a difference.

How are you creating cookies? HTTP headers or JS?

--
Matt Doyle, Elated
3rd Edition of my jQuery Mobile book out now! Learn to build mobile web apps. Free sample chapter: http://store.elated.com/

 
New posts
Old posts

Follow Elated