Jump to content

aBiz

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

About aBiz

  • Birthday 12/06/1970

Contact Methods

  • Website URL
    http://www.abiz.co.uk

Profile Information

  • Gender
    Male
  • Location
    Northamptonshire, UK

aBiz's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well I've been programming in various languages for almost 20 years, but professionally, as a consultant and peronally in my spare time (PHP being the latest addition to my skillset), and if anyone can code all that in 2 days then I'm clearly in the wrong profession! Perhaps the guy has had other work done that was heavily based on templates, or previously written scripts, and maybe he has no concept of design, coding and methodical testing. If he wants a poor site riddled with errors then sure, tell him you can give him that in 2 days - otherwise if he's not willing to give you more time, I'd suggest he goes elsewhere... aBiz.
  2. Hi, I'm currently coding a wedding website for a friend, and all had been working great until now. It includes an RSVP page that acts as a user registration, then allowing the user to login and access additional features of the site. As I say, it's all been working fine, until I access the site via my friend's marked URL, when the session seems to stop being passed correctly. The problem occurs thus: If the user enters the correct password on the login page, the following code is run: $_SESSION['logged'] = "agk8gjf38834j2"; $_SESSION['user'] = $_user_name; header("location:" . $redirect_url); This then redirects to a welcome page, where the following code runs: ob_start(); session_start(); if($_SESSION['logged'] != 'agk8gjf38834j2') { header("location:" . $_login_file); } It is at this point, when using the masked URL, that I'm redirected back to the login page.  I've coded an echo to check the $_SESSION['logged'] variable, and sure enough it's blank when using the masked URL, but fine using the main URL. If anyone has any ideas, or simple ways to get around this I would really appreciate you help. Yours confusedly! aBiz.  ???
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.