Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 15th Jan 2010, 10:12 PM   #1
Jason Baker
War Room Member
 
jaybaker's Avatar
 
Join Date: 2009
Location: Fairfax CA
Posts: 546
Thanks: 113
Thanked 112 Times in 55 Posts
Blog Entries: 2
Default
Need help with login area/sessions
Share on: 
fb share twitter share gplus share more share

Ok, here goes...

I have created a set of scripts that will log someone in and direct them to the proper area of the site.

I.e. sysadmin -> admin area and a regular user -> front end protected area

This is all well and good. I had a client request to view the front end as the admin and thus copied the front end scripts to the admin area of course changing the permissions on the new pages to only allow for their login...

Now here is where my problem is...

When viewing the front end as a regular user everything showes up fine in regards to images and so on, but when viewing the exact same scripts copied into the admin area the scripts do not pick up on the recently added content therefore the front end shows new content where the back end is showing nothing was added.

So What I am wondering is how do I go about giving the admin access to the front end without breaking the session in the back end? I want the admin to be able to log into the back end and click a link to the protected front end.

I have tried several ways to give access but with the admin having to log in each time the page was viewed.

Any suggestions would be appreciated.

Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
- The AC Assassin
jaybaker is offline  
Unread 15th Jan 2010, 10:44 PM   #2
Jason Baker
War Room Member
 
jaybaker's Avatar
 
Join Date: 2009
Location: Fairfax CA
Posts: 546
Thanks: 113
Thanked 112 Times in 55 Posts
Blog Entries: 2
Default
Re: Need help with login area/sessions
Share on: 
fb share twitter share gplus share more share

Please delete. There was an error with the posting of code and I backed out. That is why there is 4 posts of the same thing.

Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
- The AC Assassin
jaybaker is offline  
Closed Thread


Bookmarks

Tags
area or sessions, login


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 02:36 PM.