close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Server redirect with pass original query string without links from tab

Thread began 10/19/2020 2:53 am by Jonas | Last modified 10/29/2020 10:20 am by Ray Borduin | 83 views | 19 replies |

Jonas

Server redirect with pass original query string without links from tab

I have two pages (master & detail).
The master page lists several products.

On the detail page are four different tabs. These tabs are linked through dynamic plug-in. I have set one of these pages to default, so it is automatically displayed when you get to the detail page. I have created session values for each tab button and server redirect with pass original query string selected. When you select the back button, you come to the master page.

Everything works so far.

But it seems that server redirect with pass original query string is "too" good. Because, the next time you click on another product on the master page, the last tab/page you selected on the detail page will appear. Not the tab/page as I have set as default.

I need server redirect with pass original query string because the link is complex. But at the same time, I do not want it to include which tab you have chosen - which it seems like now.

Can this be solved in any way?

Sign in to reply to this post

Ray BorduinWebAssist

What happens when you turn off "pass original query string"?

Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

Then, if I choose to update the page in the browser - the url cuts. For example if its turn on: merinformation.php?buc_id=85&return=../index.php.
And if its turn off: merinformation.php.

Sign in to reply to this post

Ray BorduinWebAssist

I think I'd have to debug this live to figure out what is going on. I'm not sure how it is remembering the tab. You may be able to just add code to the page to always re-open the default tab when the page is visited.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

Okay, that's not the way. Although it's a little annoying

Sign in to reply to this post

Jonas

Now I have created a demo site that can be tested.

Sign in to reply to this post

Ray BorduinWebAssist

What do I do to reproduce the issue on the site once I get there? Please provide more detailed steps to reproduce.

Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

I have problem with the tabs. Then choose a product the detail page will open wrong tabs as default.

Sign in to reply to this post

Ray BorduinWebAssist

You were maintaining the selected tab in the session. To reset it I added code to the top of the index.php page:

php:
<?php

@session_start();
if(isset(
$_SESSION["tablink"]))     {
  
$_SESSION["tablink"] = "info";
}
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

Jonas

Thanks! That make sense.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...