Title: Using wp-login.php
Last modified: August 19, 2016

---

# Using wp-login.php

 *  [voogah](https://wordpress.org/support/users/voogah/)
 * (@voogah)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-wp-loginphp/)
 * I am using wordpress theme P2.
 * I have it setup where you have to login (using wp-login.php) before they enter
   the site.
 * I am fairly new to PHP and trying to get it to work with some other database 
   pages that I have created.
 * What I am searching for or trying to figure out is how wordpress on wp-login.
   php stores the user’s information once logged in. I am assuming it has to create
   a string with the “id”.
 * Is this done using cookies or sessions? I don’t see the line that this is in!
 * If what I am asking for is not clear please let me know!
 * Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [voogah](https://wordpress.org/support/users/voogah/)
 * (@voogah)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-wp-loginphp/#post-1414023)
 * Still looking for help!
 * I have googled this and can’t seem to find an answer.
 * I thought doing a custom page template would solve this problem but it doesn’t
   seem that the P2 theme lets you do a custom page templete??
 * I am trying to have some custom pages that have other features other then what
   WordPress can offer.
 * The problem is that this is a protected site so it has a login page so I need
   wordpress and my custom pages to interact together so they don’t have to login
   twice. I can’t seem to find out how to get the user id from wordpress’s login
   page!
 * Anybody have any ideas on how I can go about this!
 * If you need any other information please let me know!
 * Thanks for the help!
 *  Thread Starter [voogah](https://wordpress.org/support/users/voogah/)
 * (@voogah)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/using-wp-loginphp/#post-1414030)
 * Anyone, can anyone suggest something!
 * Does my explanation not make since???
 * Is what I am wanting not possible?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Using wp-login.php’ is closed to new replies.

## Tags

 * [user information](https://wordpress.org/support/topic-tag/user-information/)
 * [wp-login.php](https://wordpress.org/support/topic-tag/wp-login-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [voogah](https://wordpress.org/support/users/voogah/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/using-wp-loginphp/#post-1414030)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
