Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Oct 2003
    Posts
    9
    Member #
    3731
    Hi There,

    I am using PHP as my Scripting language and Apache as the server.

    Basically i have been given an assignment but i am unable to come up with an apt solution for it. Can someone just guide me as to from where should i start.

    I have a site wheren in the users log-in and when they do so a session variable is created and the user id is stored in it. Now there are certain pages from where the user receives a mail from the site linking to the site.
    Now when the user reads this mail and clicks on the link in the mail it opens the respective page on the site.

    Now what i want to do is I want to check whether the user is already logged in. If he is logged in it should refresh the site with new details. If he is not logged in it should Open a new window asking him to log in and when he does that it should display the link that has been sent to him as a mail.

    Sounds confusing huh?

    Can some one help me?

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    PHP's sessions documentation, if it helps: http://www.php.net/session
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 08:48 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com