5 Replies - 456 Views - Last Post: 28 August 2012 - 07:24 AM

#1 DarenR  Icon User is offline

  • D.I.C Lover

Reputation: 495
  • View blog
  • Posts: 3,300
  • Joined: 12-January 10

website application boots people in https but not http

Posted 22 August 2012 - 07:46 AM

I run a dev server in http and everything runs great. When certain files are run in https it auto kicks the user back tot he log in screen. Now this doesnt happen for everything. It only happens to 2 files that I am aware of. For instance we have a section as follows admin>sop>and sop files here

only 2 of the hundreds of sop files boot people and it just happen to be the ones that are to be updated.

I run it on local host and I do not get booted under the files with the pointer towards production data.

I run my local host on http

main app runs on https


any idea of what could cause the booting during the usuage of the two files on https but not http? Now I can't even show you an error code because one does not come up.


Thanks

Is This A Good Question/Topic? 0
  • +

Replies To: website application boots people in https but not http

#2 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: website application boots people in https but not http

Posted 22 August 2012 - 12:31 PM

What language is it running on?

Are your links all pointing to the same domain (ie. non-www or www.), what are the cookies you have set? Are you using sessions?

Dump cookies before and after it takes you to the login screen and see what cookies you have in their entirety.
Was This Post Helpful? 0
  • +
  • -

#3 DarenR  Icon User is offline

  • D.I.C Lover

Reputation: 495
  • View blog
  • Posts: 3,300
  • Joined: 12-January 10

Re: website application boots people in https but not http

Posted 22 August 2012 - 12:51 PM

we dont use cookies since it is a security risk. Our sessions are set to clear as to not store important information when soemone leaves the page.

asp.net/vb.net/javascript/html/xml


we use a generic code that is used through out the entire application. this problem only occurs on 2 sections in a specific form. This form has no problem running anything else on it.
Was This Post Helpful? 0
  • +
  • -

#4 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: website application boots people in https but not http

Posted 28 August 2012 - 06:40 AM

Cookies aren't a security risk.

Anyway, how is your session maintained across requests if you have no cookies? I suspect something is recreating a session somewhere, thus changing the session identifier.
Was This Post Helpful? 1
  • +
  • -

#5 DarenR  Icon User is offline

  • D.I.C Lover

Reputation: 495
  • View blog
  • Posts: 3,300
  • Joined: 12-January 10

Re: website application boots people in https but not http

Posted 28 August 2012 - 06:43 AM

The code uploader forgot to include the https url in all of our code. I asked him if he did that and he said yes but went and double checked and guess what-- he forgot to include the https url in the code when moving it from dev to production.
Was This Post Helpful? 0
  • +
  • -

#6 RudiVisser  Icon User is offline

  • .. does not guess solutions
  • member icon

Reputation: 1004
  • View blog
  • Posts: 3,562
  • Joined: 05-June 09

Re: website application boots people in https but not http

Posted 28 August 2012 - 07:24 AM

Sounds about right :)

Well, at least it's resolved.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1