Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 9 of 9
Search took 0.01 seconds.
Search: Posts Made By: superfancy
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 20th, 2009, 06:02 PM
Replies: 2
Views: 5,093
Posted By superfancy
I figured out my problem. I forgot to convert my...

I figured out my problem. I forgot to convert my logout() method in my admin dahboard.php Contoller to use CI sessions.

function logout() {
//unset($_SESSION['userid']);...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 19th, 2009, 08:23 PM
Replies: 18
Views: 3,248
Posted By superfancy
Yeah I think CI session class will work for me...

Yeah I think CI session class will work for me for the site I'll be building based on the knowledge I've gained through the book. It will not be an ecommerce site so I only need authentication for...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 17th, 2009, 04:16 PM
Replies: 2
Views: 5,093
Posted By superfancy
I've solved this issue by using CI's built in...

I've solved this issue by using CI's built in session library. But now the problem is I can go to my admin pages by directly typing in the URL. Doh! Kinda defeats the purpose of logging in in the...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 17th, 2009, 04:13 PM
Replies: 18
Views: 3,248
Posted By superfancy
Alright! I got it working by using the built in...

Alright! I got it working by using the built in CI session library rather than native PHP $_SESSION. This (http://codeigniter.com/forums/viewthread/109602/) thread over at the Codeigniter forums...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 17th, 2009, 03:20 PM
Replies: 18
Views: 3,248
Posted By superfancy
Even with the original login code I just get...

Even with the original login code I just get redirected back to my login page. I do appreciate the response. I'm still trying to figure this out.
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 16th, 2009, 10:56 PM
Replies: 18
Views: 3,248
Posted By superfancy
Thanks for the reply but unfortunately that did...

Thanks for the reply but unfortunately that did not work for me. I still just get redirected back to my login page. There's a couple more adjustments to my code that I'm going to try but if anyone...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 16th, 2009, 08:06 PM
Replies: 18
Views: 3,248
Posted By superfancy
Would I make this change within CI or in my...

Would I make this change within CI or in my php.ini file?
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 16th, 2009, 06:59 PM
Replies: 2
Views: 5,093
Posted By superfancy
Exclamation Admin Dashboard Login/Session Issues

I left this comment in this (http://p2p.wrox.com/book-professional-codeigniter-isbn-978-0-470-28245-8/71316-problems-login-logic-dashboard.html) thread. But thought I'd start a new thread too...
...
Forum: BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 July 16th, 2009, 06:53 PM
Replies: 18
Views: 3,248
Posted By superfancy
I've run into a login session issue, really the...

I've run into a login session issue, really the only issue I've had with the code from the book. For example when I use the code from the book:

if ($_SESSION['userid'] < 1) {
...
Showing results 1 to 9 of 9

 


All times are GMT -4. The time now is 01:23 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.